|
Hi, I’m confused by the MSceneMessage.addConnectionFailedCallback behaviour... Basically I try to create a callback for monitoring failed connections during reopening of a file containing references... Here is the code snippet for repro:
Maybe I don’t get it right, because the callback is not triggered in this scenario. To investigate, I tried to insert directly some code into the masterScene ma: connectAttr “aFake.plug” “REF:locator1.tx”; saving and reopening, and then the callback is executed: callback triggered <maya.OpenMaya.MPlug; proxy of <Swig Object of type 'MPlug *' at 0x7d51c90> > <maya.OpenMaya.MPlug; proxy of <Swig Object of type 'MPlug *' at 0x7d51ba0> > this.plug REF.tx noData So it must be that failing connections on a reference node placeHolder is not caught by the callback. But as we can see in the details printed by the callback, dstPlugName seems incorrect. Has anyone used this callback in this scenario? Didn’t find much infos on google… Any hint/suggestions would be very welcome. Nicolas |
--
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/1434754669547-9ef55ec0-33bcdda0-ea8e1c12%40mixmax.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGTPGOCEQ56%3DFF9WH49j8wB%2BcjoG3sSs10wQwvYfwVGy%2BeiZaQ%40mail.gmail.com.