Hello again Dynamo friends
I´m making a script ready to work also if wrong inputs are selected by the user.
Now i have the problem, that Userinterfaces get triggered allthough they should not run.
This is because the IF-Condition (codeblock) doesn’t work with nulls and empty lists as “test”-input.
In the following example a “true” value is passed even there is nothing (null) to test:
In the next example i added a “null-filter”. It works for nulls, but now it doesn`t work for another case where i get empty lists:
What can i do to stop the UI from running?
If you want to know why I’m even getting these null values, this is also because of empty lists and IF-blocks:
Would be happy about any advice! Thanks in advance