Ok, an update!  

Once I started looking for my print statement in the output window as 
Robert suggested, I was able to work out a few issues to get things closer 
to working.  

So now things like 
import pymel.core as pm
and 
import maya.cmds as cmds
are working, so that's progress at least!

But now, I'm trying to also make it import some of my own scripts 
automatically.  Something like:
import riggingTools as rt

When I run that from the script editor it works fine, but when I put that 
in in my userPrefs.py and run rt.someMethod() it says name 'rt' is not 
defined.  So for some reason it works when I import it in Maya, but does 
not work when I try to run it in in my userStartup.py  

-- 
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/fa245e86-6743-4b1e-90a1-1de4c54bdc04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to