QUOTE(Geegrafix @ 10/13/05, 04:47 AM)
Nope, that doesn't work either. That gives me the same error. As long as I create the script in the same session of Maya, it will not work. If I exit Maya, and restart, then it will work. Any ideas why this happens? It doesn't sound like a big deal, but we have had some scripts that don't work correctly now because of this. It works in Maya 5.0.1 but not in Maya 7 Thanks!
[snapback]217216[/snapback]
Failure,
I stand corrected, using the ./ does work like you said but, inside the script, loadNewShelf, it does not use that. I could update that script, but then it would need to be done on everyone's computer... blah blah blah, also making sure any new installs of Maya would have it changed etc... I don't think changing it is the way to go. I guess for now, we are stuck using our current work around. It is just too bad it got more difficult. Thanks again.