I'm writing a custom manipulator for maya in C++.

It's a *MPxManipulatorNode *on its own (no context or anything). It has the 
built in virtual function:

*virtual MStatus connectToDependNode(const MObject &dependNode);*

With this I want to connect this manipulator to my custom nodes *plug ( I 
added the value in the postConstructor() and setting the values in one of 
the *do functions. And yes the manipulator is named the same as the node I 
want to control with a "Manip" extra tag at the end of its name) *. But 
even though it compiles and runs. The function never gets triggered in the 
first place.
Do I need to implement this in a context to be able to run this function in 
a context, or it should be able to run on its own and link up with a plug? 
The Maya API documentation says that it should run on its own but it 
doesn`t seem to work for me....

Any ideas about manipulators?
Janos

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e74b495c-16f7-4b97-bddd-ef09dd5101c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to