How to turn off part of script based on user input values?

Hello, this is my first script in dynamo, and i can not figure out how to turn off parts of script if i have a specific value.
For examle when user imputs value “0” i dont want to node runing Solid.ThinShell node, but when user imputs any other value i wnat it to run the node.
or is ther a way to remove a null value, in the way it wont show ant value in the list?
i was no able to find sulution for this is ther any way around this?
thank you in advance!

or is ther a way to remove a null value, in the way it wont show ant value in the list?

Try the function apply node :slight_smile:

Hi @r.kalnitis ,

In Dynamo there is no way to turn of nodes to make them not run, what you could do is pass a null or empty list through them instead.

You could use List.Clean

1 Like