I’m new to DesignScript, so bear with me. I find examples of usages online, but I have a hard time finding documentation to further explain what I’m seeing. Yes, I have pdfs for DesignScript Guide and Documentation.
In this case, I think I have understood how to use __Apply and maybe __ApplyList, but I’m not getting the results I expect. I have googled for __Apply and __ApplyList but have come up with nothing. Again, just people using it, but it’s not in the DesignScript Guide or Documentation that I can find.
Anyway, see the Dynamo script I’m working on. I am trying to use the Dynamo node String.Contains within the DesignScript code. As you can see, the two lines using __ApplyList are returning null. That’s the first question. What am I doing wrong there. I tried with __Apply first and got “Function” in the Watch nodes.
What I need these two lines to return is a list of boolean values for each item in the list passed to it.
I then need to use those two lines for the output of line 5 to then use in line 9.
If __Apply and __ApplyList don’t or can’t work here, is there a substring function in DesignScript that I can use instead of the String.Contains node?