i'm not quite clear on what you want to do. do you want to know if userSetup.py is running in mayapy versus batch mode versus interactive? IIRC, calling maya.standalone.initialize() in mayapy is what triggers userSetup.py to get called, so just by virtue of it running you can know that maya is in the *process* of being initialized.
-chad -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
