Jump to content
ChadL

Options in OIP and displaying items in OIP

Recommended Posts

Two questions, both of these questions are for after I convert to object node.

1) Is there a way in marionette to have a drop down menu in the OIP to select the way the network gets inputs. For example, I want to have the option to choose between using a fixed distance, or percentange. Then based on what is selected the network uses the corresponding input node.

2) Is there a way to display information from somewhere in the network back to the OIP. For example, the area or an object created.

Thanks,

Chad

Share this post


Link to post

Hello Chad,

1) You just have to make an if statement like this:


if dropdown_value == 'a':
  output = Port_A_value
elif dropdown_valu == 'B':
  output = Port_B_value

Here's an example with all OIP controls:

https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=218725#Post218725

2) It's not possible to change any OIP-control value within the script execution.

Edited by Patrick Winkler

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.

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.


 

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