When I don’t set parameter name, it looks everything works as expected. but when i I connect the node, thats when problem happens. I suspect it repeating itself because when I place a transaction end node it runs twice - it has two “undo” dynamo script in revit.
if the code block has no error (even if not connected to my graph) it will cause error.
I think this is bug because it causes script to run twice. My previous post alluded to this issue to on another graph. Or maybe someone knows how to codeblock these statements properly.
The ‘if statement’ sounds more like it’s due to an element Updater than a bug. Wire the node in, don’t run the graph, save it, open it, and then run it and see if you get doubled results.
Thanks.
Double result still happens.
It will happen on very first run. after that it works normal. but once re-open, double result happens on first run again.
I think problem occurs because of if test code block, but not sure how to make that code block into nodes because it has more than two possible outputs, but if node only has two? unless i create chain of if nodes?