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

Pop-up Dialog and Valve Node

Recommended Posts

I have four Valve nodes managing the output of four List nodes.
Each Valve node is controlled by a Yes No Dialog.
Instead of four Yes No Dialog nodes I would like to have a Pop up Dialog with four choices so I can skip the Yes No Dialogs.

Can this be done ?

Thanks .
Jan Willem Henssen

Share this post


Link to post

You can customize the Popup List node in the library to contain these choices. In order to do so, you will need to delete the line at the very top that begins with #COMMAND

You can edit the values you want displayed in the 13th line.

The output will be an integer, the outputs start at 0, so if you select the top item in the list, the output will be 0, the second item in list will be 1, and so-forth.

You can then use an Equals node to define your boolean input to the valve nodes.

 

Let me know if I need to clarify better 🙂

  • Like 1

Share this post


Link to post

Marissa, thank you!
Works like a charm. I was not familiar with the use of the Equals node. Problem solved.

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.

×