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
--
Donal McMullan
Production Engineer
Desk: x3310
Direct: +64 4380 3810
Mobile: +64 2166 1254
--
http://groups.google.com/group/python_inside_maya