I am wondering if there is a way to run only part of a dynamo script? I know you can freeze nodes.
I have a script that draws some lines but I do not need it to always draw all of the lines. Is there a way through an If statement (or something) to freeze a node? I have the logic for when it should not be drawn but do not have the method other than passing it a Null or an empty list. I tried doing this but Element.SetParameterByName gives me and err “Warning: Internal error, please report: Dereferencing a non-pointer.” It does what I need it to but I do not like getting warnings.
Thanks for any help,