Maya 2009 on Linux....
import maya.cmds as cmd
cmd.allNodeTypes()

# Result: [u'AISEnvFacade', u'FurAttractors', u'FurCurveAttractors', u'FurDescription', u'FurFeedback', u'FurGlobals', u'addDoubleLinear', ..................

i should also point out that many commands share the same lazily- loaded library, making this bug sometimes tricky to reproduce. for example, userSetup.py might use a command that triggers the loading of allNodeTypes, so you never see the problem there. if you are looking to reproduce the problem, i've found that there are many more commands which are not loaded when using mayapy vs the GUI.

-chad
--
http://groups.google.com/group/python_inside_maya

Reply via email to