>From docs: > The list of available event names can be retrieved by calling the > getEventNames method or by using the -listEvents flag on the > scriptJob<http://download.autodesk.com/us/maya/2009help/Commands/scriptJob.html> > command.
So you can do: import maya.OpenMaya as om names = [] om.MEventMessage.getEventNames(names) print names Or... import maya.cmds as cmds print cmds.scriptJob(listEvents=True) On Wed, Feb 13, 2013 at 8:24 AM, Panupat Chongstitwattana < [email protected]> wrote: > Hi Justin. > > I'm trying to do an exercise on your chapter 6 > by creating a QCheckBox that links to pSphere1.visibility attribute. > > How can I find a list of available MEventMessage call back? > I checked the documentation but couldn't figure it out. > > > http://download.autodesk.com/us/maya/2009help/API/class_m_event_message.html > > > Panupat. > > -- > 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 post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
