Jump to content
Developer Wiki and Function Reference Links ×

Converting String Node to Object Name


Recommended Posts

Hi

 

I'm just getting to grips with Marionette and am trying to use User prompts for information.

 

The First question I need to ask to user to enter is the Object Name, but I do not see a User prompt Node for that. The only one I can see is to ask the user for a 'String' Value.

 

When I use this one, my Network fails to find the object, so I have come to the conclusion that I need to convert this String to an Object Name.

 

Would I need to create my own Node from scratch using Python Script to do this?

 

Kind regards

 

Mike

Link to comment
28 minutes ago, Pat Stanford said:

Does this one do what you want?

 

image.png.229ced15fb0caf749cf1e4be462809e9.png

Hi @Pat Stanford

 

It does, but that's the one I was using originally, but it does not show up a dialogue box asking the user to select the object.

 

On the standalone wrapped marionette it's OK because the information can be entered in the OIP, but I think to use the wrapped network as a Command, it needs the user to be prompted for the various elements.

 

That's why, at this stage, I'm thinking making it a Command did not work, even though it added it to the menu item.

 

For the moment, I'm happy to have it as a Plugin object. Need to learn more about adding it as a Command. Also, now I've added it as a Command, I can not remove it in Workspace settings. Not sure why, so I'm left with a Menu option which is of no use at the moment.

 

Been a productive day, although I feel I've opened a can of worms 😉

 

Mike

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...