Hello everyone,
Long story short, I’ve made five scripts that tests the revit model. Instead of having all five scripts in one file, a person needs to open 5 different dynamo scripts in order to test it.
The initial reason why I did it in that way is because Dynamo environment wasn’t as forgiving as Grasshopper where you can have multiple scripts in one file but control them by turning off / on the entire script easily.
I learned that you can turn an entire script into a node.
Here is my idea and it would be very appreciative if the experts here can give me some advice.
"Function #1 - (0.00 - 1.00)
|
if(x !>= .70)
STOP
return FAIL
else {
CONTINUE
}
FUNCTION #2 - (0.00 - 1.00)
FUNCTION #3 - (0.00 - 1.00)
FUNCTION #4 - (0.00 - 1.00)
FUNCTION #5 - (0.00 - 1.00)
if( #1 PASSED && 2, 3, 4 || 5 PASSED)
this passes"
Is there a way where I can place all five nodes (scripts) in one file and run it similar to the code structure that I provided above?
Please let me know if you have further question.
Thank you very much for your time.