How to check if there are callbacks on nodes

38 views
Skip to first unread message

kiteh

unread,
Aug 19, 2019, 4:25:07 PM8/19/19
to Python Programming for Autodesk Maya
I have created some callbacks (using MNodeMessage) towards a node eg. locator1.
From this object, is it possible to check what callbacks (the ones I made) are 'linked' to this locator?

Trying to ensure that some of the callbacks that I have created are indeed deleted before creating new ones again..

Marcus Ottosson

unread,
Aug 20, 2019, 3:38:11 PM8/20/19
to python_in...@googlegroups.com
You're in luck; looking up callbacks on a given node is just about the only lookup of callbacks you can make; every other callback is forever lost into the abyss.


--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d8b9ef62-9b39-4fe7-81a4-a3dd53ea5e05%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages