I am trying to call:
mel.eval('loadNewShelf "myPathToShelf.mel"')
But it's not loading the shelf, when I call the function after Maya has
loaded in the script editor it loads the shelf fine. Where can I put my
userSetup.py to allow me to load this? I know it has something to do with
modules not being imported before the calls.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/e2e221ce-fb50-451c-ab9e-f8ac22018294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.