Hi @Ewan_Opie,
Apologies for the late reply, I haven’t been on here in a while.
I see what you are trying to do, please see my comment on the other post you submitted (below)
https://forum.dynamobim.com/t/repeating-and-maintaining-run-order-of-user-input/6562
In short, you can add a dummy port to the python script or custom component and plug in a boolean toggle, then switch this before running the script again, it doesn’t matter if it true or false, as long as you change the value dynamo will register a node changed event and queue it up for re-execution. A more thorough explanation in your other post.
On another note, Have you thought about using a dedicated legend copier/placer add-in? There are free ones out there, if i remember rightly, lmnts architects do one and i’m sure i’ve seen a few others as well as written one myself.
Cheers,
Dan