Jump to content
Developer Wiki and Function Reference Links ×

Run Marionette on selected objects


Recommended Posts

I have made a small Marionette that extrudes several path objectes:

Untitled1.thumb.jpg.903844904bb3fa178629e08246088ea0.jpg

 

I have wrapped this and created a plugin symbol for this.

My default criterium is  (SEL=TRUE) , so I want to select several objects and run the Marionette on these objets. This does not work: As soon as I select the Marionete, the selection of the objects is gone and vice versa... ( of course...)

Converting to a marionette Menu Command works fine, but I then I lose the ability to configure the criteria and circle raduis.

Choosing other criteria like pen forecolor or class works fine too.

 

Did I oversee something ?

 

 

 

 

 

Edited by halfcouple
Link to comment
  • Vectorworks, Inc Employee

Hi @halfcouple - you are correct in that you have to use a Menu Command to run a network on selected objects, you cannot do it with a regular network or a Marionette object. You can give yourself access to options in a menu command by using the nodes in the User Interaction folder in the Resource Selector. If you replace the regular input nodes with these dialog nodes, when you run the command, dialogs will pop up for each node asking what you want the parameters to be.

  • Like 1
Link to comment
  • 5 years later...
On 6/2/2020 at 2:57 PM, SBarrettWalker said:

User Interaction folder in the Resource Selector. If you replace the regular input nodes with these dialog nodes

Hi @SBarrettWalker

 

Joining this thread as this is exactly what I'm trying to do, but there does not appear to be a node to prompt the user to enter an Object Name.

 

There is only one for 'String', but I don't know how to convert this to Object Name.

 

Any help would be appreciated.

 

Kind regards

 

Mike

Link to comment

@SBarrettWalker Could you not also just put a VW file with the node into the User (or Workgroup) folder in Libraries:Defaults:Marionette:"whatever subgroup folder you want it to show up in"?

 

You can look up the folder names in that path in the Application folder.

 

And you probably need to restart VW after adding a file to any of those folders to have it be seen.

  • Like 1
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...