I'm trying to use the MPxManipContainer to implement a manipulator tool with a variable number of base manipulators. The number of manipulators is dependent on the number of elements in an array of attributes on the object being manipulated.
The docs all suggest that we should be adding the base manipulators in "createChildren()". My problem with that is I don't have access to the node being manipulated at this stage and therefore have no idea how many manipulators I need to create.
I've not tried it yet but would it be possible to create base manipulators when I'm setting up the connections in "connectToDependNode(const MObject& node)"? Or is that just plain wrong?
Maybe I should be creating a custom manipulator using MPxManipulatorNode?
Cheers,