I'm working on a Python plugin and I'd like it to be able to emit an event 
so that other python scripts running in Maya can respond to this event. 

I guess what I want is to be able to define and then emit a custom 
OpenMaya.MSceneMessage - say for example kCoffeeReady. My other scripts 
would be able to do something like: 

OpenMaya.MSceneMessage.addCallback(OpenMaya.MSceneMessage.kCoffeeReady, 
self.add_milk) 

Is that possible? I'm having a hard time grokking the documentation. 

D 

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

Reply via email to