Hello Dynamo Community,
I want to set a view template but if it doesnt exist i want to apply another one.
It is working perfectly fine but i always get an error message. I would like to avoid this because i don`t want users to get an error by using this script with dynamo player.
If ViewTemplate 1 does not exist, there is no error.
If ViewTemplate 1 does exist, I get an error because of the “0” at the If node for ViewTemplate 2.
I tried to use another “false input” for the if node. If i use an empty list it is messing everything up.
So is there any way to block the input of a node? Or is there any false-input i can use that won´t give me an error?
Would be really grateful for any help!