Hi Michael, it works very well. I have one last request.
1) I select an object, I run the command and I put it in a "red" style.
2) I select another object, I run the command and I also put it in a "red" style.
Is it possible to put the second one in the same "red" style as the previous one?
And to update the colour if it is modified?
This is the case for the manipulation of object names.
With this script :
script: /* Edit object name */ var pp = moi.ui.propertiesPanel; if (pp.show && pp.numSelectedObjects > 0) { pp.editName(); }
1) I select an object (or surface), run the script and name it "01".
2) I select another object, I run the script and name it "01" too.
I do not have in the name hierarchy twice the name "01", but my two objects "01" are in the same place.
Thanks very much,
Iwan
|