Oh.. so we can pass an empty list as argument. Thanks!
On Wed, Feb 13, 2013 at 3:15 AM, Justin Israel <[email protected]>wrote: > 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) > -- 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.
