An interesting way to unbind elements

Hello everyone! I have discovered an interesting phenomenon: when I use the ribbon UI to run the dynamo program, there will be no situation where the next instance created will overwrite the previous instance. Why is this happening? Is it because this indirectly completes the opening and closing of dynamo operations, resulting in unbound elements?


This is the square I created by clicking the UI button twice, and there is no overlap phenomenon.

Which ribbon UI are you referring to? Dynamo Player and likely custom ‘players’ built in similar ways (PyRevit, Dyno, Relay, etc.) have no means of updating binding so subsequent runs generate new instances each time (as long as existing bindings weren’t added to the file in Dynamo with the UI), while bindings are created and subsequent runs replace prior content when running (saving, and reopening) in the Dynamo UI.

1 Like

Thank you for your explanation! I Got it. By the way, I’m using Pyrrevit.