Cycle warnings come from the way nodes are connected, rather than the API (assuming you mean maya.api.OpenMaya
or the C++ API?). The warning means that one or more output attributes in your plug-in is causing one or more of the of the input attributes to evaluate. For example, if the mesh.outMesh
is connected to yourDeformer.inMesh
and yourDeformer.outMesh
is connected to mesh.inMesh
, that would be a cycle if inMesh
is used to compute outMesh
. I would disconnect all of them, and reconnect each of them one at a time until the warning makes an appearance. You can also comment-out all of your attributeAffects()
calls, which is what determines which plug should cause another plug to evaluate.
--
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/5437b6d1-aa9f-4639-852a-0738f539240dn%40googlegroups.com.