hi
my plugin is importing some animation data onto an existing rig
I have the MObject for a joint - I get the rotateX plug and find that it’s currently connected to something
if I try to construct an MfnAnimCurve for that plug it returns kNotImplemented - which indicates that the attribute is currently connected to more than one curve
MObject obj_joint = ...;
MFnDependencyNode fn_dep_node( obj_joint );
MPlug plug = fn_dep_node.findPlug( "rotateX", false, &stat );
if ( plug.isConnected() )
{
MFnAnimCurve fn_curve( plug, &stat );
if ( stat == MStatus::kNotImplemented )
{
// the attribute is connected to more than one curve
... <- !?
}
}
- is it possible for me to break those connections through the api ?
thanks
Jonny