Jump to content
Developer Wiki and Function Reference Links Read more... ×
barnes2000

Input Node for Selection

Recommended Posts

What is the node I should use to make input be based on the 3D object I have selected?

Share this post


Link to post

Hello barnes2000

 

you take the node "objects by crit" and write the following for criteria:

 

sel = true

 

or

 

(sel = true)

 

The node gives the handles of all selected objects when you run the script.

 

Kind regards

 

Pascal Völz

Edited by Pascal Völz | TH-OWL
  • Like 1

Share this post


Link to post

Hi Pascal.

I have a further query in this topic. Is it possible to create Marionette Object that uses selected shape as input?

E.g. this wrapper I created, meant to be Menu command. After using it the final geometry loses the "parametric features (can no longer change dimensions)", it is only a group of extrusions. It would be great, if it works like any Marionette Object \, but I have no clue how to do that.

Any thoughts on that?

ParametricTable.vwx

Share this post


Link to post

@GRZEGORZ

I would suggest using the Control Geometry node and placing the geometry you want to use into the Control Geometry group of the Marionette Object. There is currently no way to run a network on a selected object unless it is a Menu Command, which as you stated, will not maintain it as a Marionette Object.

  • Like 1

Share this post


Link to post
2 minutes ago, Pascal Völz | CADVölz said:

is it important for you to have a menu command? Otherwise, you can save the Marionette Object as an intelligent symbol. 

It is not important at all.

What do you mean by saving as "intelligent symbol"?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×