Create custom node and add it to the dagpath of a mesh


#1

Hello,

I am currently working on a Maya plugin written in Python where i need to add a custom node to change the datas of a mesh.
I need something that has the same behaviour of the mel command polyRetopo where it adds a node as a child of the shape and changes it attributes.
Does anyone know how i can create that custom node and add it as a child of the mesh ?