bugs in custom script.
wrote a handy little script that helps me navigate through my stack upon execution. It checks to see where I am in the stack and moved to the lower modifier. When it reaches the root, it goes back the the top of the stack. The main problem is that when it reaches the bottom of the stack (and the bottom of the stack is an editable poly), it cannot seem to go back to the top. Also, when I have instances of an object and I run the script on one of them, it selected the next modifier on the other object. Here is the source code of the script. Plz help:
( try ( i = modPanel.getModifierIndex $ (modPanel.getCurrentObject()) --if cannot initialize, then root is reached print i ) catch ( --reached root i = 999 print i ) if(i<$.modifiers.count) then ( --next i=i+1 modPanel.setCurrentObject $.modifiers[i] ) else if(i==999) then ( --back to top i = 1 modPanel.setCurrentObject $.modifiers[i] ) else ( modPanel.setCurrentObject $.baseObject ) )
Comments
...
Here is your tool
bga
dude, thank you so much! very
dude, thank you so much! very helpful!
*.ms
Or *.ms version
bga