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

Yes/No Dialog

Recommended Posts

The network I'm working on creates different parts of a (wall) cabinet. I would like to have the choice of a "yes/no' dialog for certain parts of the cabinet.

Like :  Doors-  Yes or No, Bottom Shelf-  Yes or No etc.
I tried the 'YesNo Dialog Node' but can't figure out how and where to connect it into my network. The Node has only an output connector, no input.
Any help much appreciated.

Share this post


Link to post

You can think of this node as an alternative to the Bool input node. The output of the Yes No Dialog is labeled "b" meaning it is a boolean or true/false value. Yes would be true and no would be false. You can connect it to any node that has a "b" input and some sort of either/or choice. When you run the network, a yes/no dialog will pop up and you can choose Yes or No.

Share this post


Link to post

I would suggest using the Yes/No dialog node in conjunction with a Valve node. The valve node will accept a boolean input and suppress anything past the valve node if the value passed is False. If True, it will pass the values in the item list through.

In this example, a circle is only drawn at (0,0) if the Yes/No result is True.

BooleanValve_MFarrell.vwx

Share this post


Link to post

Yes, the Valve Node. It works👍
Thank you @sbarrett and @marissaFarrell

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.

×