How to set up a "boolean gate" to pass lists conditionally?

I also found a malfunction of the ScopeIf node with more complex graphics

It’s true! Thanks

scope if has some limitations - the two branches must be completely unconnected from eachother. ScopeIf behaves differently from the the rest of dynamo as only the passed branch is actually executed.

3 Likes

A simpler way.

1 Like

Your solution ignores the central problem of this if statement:



Your method, just like the method using a regular if node, does not handle inputs that are structurally different well.
The if statement that is asked for should be able to handle inputs with different lengths properly.
The ScopeIf node does.


@SeanP

1 Like

I figured out you can avoid a ScopeIf. This is about as elegant a solution I could manage:

1 Like

Very true…mine is just a simple binary gate.