Hi all,
I’m trying to display a message box after running a set of nodes. However, Dyanmo seems to ignore any nodes before the message box script and displays the message box first and then run the nods. I tried it with Data-shapes and couple of custom python scripts and they all did the same thing. I even tried to force the message box script to wait for the other nodes with the “passing through” node, but still no luck so far!
Am I doing something wrong or this is how Dynamo deals with any UI nodes (Displays all windows first and then run the nodes)?
Thanks
The python script for the message box:
import clr
clr.AddReference(“RevitAPIUI”)
from Autodesk.Revit.UI import TaskDialog
msg = IN[0]
msgBox = TaskDialog
OUT = msgBox.Show(“Done!”,msg)