Sweeeeet!
Almost perfect...
I selected several Lights, Cameras, and Scripts
Ran your script
Everything copied and rearranged except the Scripts did not rearrange
I added:
Code: Select all
Node.ConRemove(currentCopy, "LE2Data, 1");
Node.ConRemove(currentCopy, "LE2Data, 2");
Node.ConRemove(currentCopy, "LE2Data, 3");
Now the Scripts rearrange too!
Thank you!
Need to stop the error if it is ran with nothing selected
Invalid procedure call or argument Error code: 0x800a0005
Line: 17, Char: 2 Script text: var currentCopy = Node.Copy(currentNode, Node.Owner(currentNode));
I tried several different ways without success
A good object to test the above changes, use the GearObj.RsObj in the Objects - Script objects library
It has a hidden LE2Data, 3 con