In my case I duplicate a nurbsCurve so OpenMaya.MFnDagNode.duplicate return a new transform with shape instanced. New transform isn't an instance. I tryed many solution for retrieve shape but with addChild nothing works... I just try with keepExistingParents and.... it's the solution !!! This parameter isn't very explicit... :)
Thank you very mush Micheal ! -- 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_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7d79fd5a-f3c5-4235-ae49-648b8f4dcc30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.