I'm trying to add a custom manipulator node to a manipulator container in python.
The MPxManipContainer.addMPxManipulatorNode method takes an argument which is a pointer by reference of type MPxManipulatorNode.
From the docs:
MStatus addMPxManipulatorNode(const MString & manipTypeName, const MString & manipName, MPxManipulatorNode *& proxyManip)
From a C++ example:
MPxManipulatorNode *proxyManip = 0;
MString manipTypeName("singleLineManip");
MString manipName("rightLineManip");
status = addMPxManipulatorNode( manipTypeName, manipName, proxyManip );
I've tried using MScriptUtil with a pointer to int, short, uint types with no success. It really wants a pointer to a MPxManipulatorNode.
Anyone have any ideas?
Thanks
Andy