We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Areas
Design
Frames
General
Links
Loads
Points
Section Cuts
Solids
Utility

If Gate

Creates an 'If' statement, taking in a boolean, value if true, and value if false. Returns the appropriate value based on the input boolean. If a value is found to be null, returns an empty generic parameter instead.

Inputs

NameIDDescriptionType
BoolBBoolean test.Boolean
Value if TrueViTValue to return if the input boolean is true. OPTIONAL. Defaults to an empty object parameter.Generic Data
Value if FalseViFValue to return if the input boolean is false. OPTIONAL. Defaults to an empty object parameter.Generic Data

Outputs

NameIDDescriptionType
ResultRResult of the if-gate.Generic Data

Site design © Robin Rodricks.   Fenix and associated data © 2024 protoGen Software.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service