kletterget
10-05-2007, 07:13 AM
I want to be able to run this script:
selectType -joint off -nurbsSurface off -polymesh off;
when a particular scene is opened. I tried creating a scriptNode with this command, setting the command as the "beforeScript" of the scriptNode and setting the type to 1 or 2. The command executes, but for some reason it doesn't work. I suspect that Maya refreshes the selectType every time a new scene is loaded, after any scriptNode are run.
Is there any way of overriding this? Or is there anyway of a scriptNode having "the last say", so to speak?
any help or insight appreciated.
/k
selectType -joint off -nurbsSurface off -polymesh off;
when a particular scene is opened. I tried creating a scriptNode with this command, setting the command as the "beforeScript" of the scriptNode and setting the type to 1 or 2. The command executes, but for some reason it doesn't work. I suspect that Maya refreshes the selectType every time a new scene is loaded, after any scriptNode are run.
Is there any way of overriding this? Or is there anyway of a scriptNode having "the last say", so to speak?
any help or insight appreciated.
/k
