I have a similar issue, the dialogue keeps popping up 3-6 times after the first run (where it ran perfectly as intended), as you can see in the picture below, there is only one ++ input node.
The script is about creating Ceilings from a CAD file, I thought that it might be a binding issue, I read somewhere the i can use “Function.Apply” to flush the binding. i used it, didnt work.
Hi @NERDASORUS not sure but could it work if you swap list.create with list.join or in 2 run just set toogle to false and run and then set it to true and run
Let’s make sure this is due to Element Binding first off. As per the linked thread, open the .dyn in a text editor, search for the “binding” flag and make sure it’s empty. If not, close all your Revit instances and manually delete the content in that section of the text in your text editor. Then save the file as a new document (keep thr .dyn extension), and see if that causes it to only trigger the UI once.
Still no bindings? Or have they been introduced? Can you try the previous fix, save the graph without running, open it and run and see if there is a double trigger there?
It is rather limitation of Data-Shapes itself, or Python in Dynamo.
We really need some Shift+F5 shortcut to run graph from scratch, it will be handy in many other cases.
TuneUp has this built in; but the indication to me is that the UI is triggered twice on any run. I tried for a bit but have not been able to reproduce the issue.