Script Flow, Order Of Operation


I have a script that renames view on sheets. In order to avoid duplicate names, it first needs to provide a temporary name that will not be used by any view in the end. It works, but it requires the user to run the script twice. The temporary renaming and permanent renaming seem to run parallel to one another. The first time it runs it does the temporary rename. The second run does the permanent. So I’m not sure if there is an obvious way to dictate the flow of the script so it works properly in one run.


use this node by Clockworks.


WaitFor will be the data coming out of the Temp Set Builtin Parameter the passThrough in will be the new names and the passThrough out will be the same names going into the final Set Builtin Parameter. This node will not pass the new names until the Temp names have been set.


Perfect, Thanks!