Jump to content

Whats the right node?

Recommended Posts

I have a selection of 7 angles. (-7.5°, -5.0°, -2.5°, 0.0°, 2.5°, 5.0° and 7.5°)

I want the user to be able/required to pick one of the angles and that becomes the input value for the "Symbol nAngle"


What I tried so far, "SLIDER" only takes integers as input values, same for "Popup" list.

"Ordered List" gives me 7 iterations as a result of 7 input values in the list.


Keep in mind I'm a Marionette rookie, so take it easy and keep it simple.




Edited by spries

Share this post

Link to post

The way I've done it before is to have a Popup node with the number of choices (which requires editing the coding of the node to include your choices by double clicking the node and removing the top two lines of code, then filling in the appropriate choices), which then is used in conjunction with a List node which contains the actual angle values using Real input nodes.  This List node then plugs in to a Get Item node in the "list" input, with the Popup node going into the "iIndex" input.  The Get Item node's "item" output then would plug into the Symbol node's "nAngle" input.  Does this make sense?

  • Like 1

Share this post

Link to post


I'm attaching a file with a modified Popup node. It will output the value chosen by the user.


The lines that are modified:

13 - defines the list of options

14 - displays the list in 13 for the values in the Popup

30 - gets the selected item from the values in line 13 as defined by the result of the selection in 14, then converts it from string to float for numerical operations.


I hope this helps! It's very similar to how Jesse described his method, but avoids the spaghetti mess of placing all of those nodes.

  • Like 1

Share this post

Link to post

Thanks Marissa.

I am either blind or don't know how to work the web page, but I don't see the attached file.

Share this post

Link to post

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.

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.


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.

  • Create New...