Jump to content
Developer Wiki and Function Reference Links ×

Placing symbols using node


Onink

Recommended Posts

Is there an input node where you can select a value from a pulldown menu in the OIP?

For example:

I have a Lemans cabinet with specific widths. 

In the OIP it says 'Lemans 600' and the values that comes out is 600mm.

And one for 'Lemans 500' outcome 500mm.

And also for a 450mm and 400mm version.

With the outcome I can set the width of the cabinet.

Link to comment
  • Vectorworks, Inc Employee

There is a way you can create this. You can use a Popup node in the Input folder. You have to edit the script inside by deleting the top line of the script and then adding the choices into the appropriate part of the script. The output of this node is the index value of the selection you make from the popup list. for example, if you have four choices: ['Red', 'Orange', 'Yellow', 'Green'] the corresponding index values will be [0, 1, 2, 3]. You can build a corresponding list of values and use a Get Item node to draw the correct value from the list. 

 

Popup.vwx

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...