If / Conditional function for switching data

I have 2 geometry definitions internalized (stored) in different geometry box (Please see the geometry in below).

I wish to find a function that can switch the 2 geometry, i.e. if I set the function to 1, geometry A is selected. Is there any if --> then function or other solutions for this problem?

Thank you.


1 Like

Posting the gh file you’ve worked on will make it easier for others to know what you’re trying to do and more likely to get help.

You can just use a Stream Filter or Stream gate depending on your workflow. This gives you the option to try more than just 2 options. Just did it panels as easier to visualise quickly but would work with any data plugged in.