const char *objName = c->GetObjName();
MSelectionList selection;
selection.add( MString( objName ) );
MObject curveObj;
MDagPath dagPath;
MString txt;
if( selection.length() )
selection.getDependNode(0, curveObj );
if( curveObj != MObject::kNullObj )
MFnNurbsCurve( curveObj );
MSelectionList selection;
selection.add( MString( objName ) );
MObject curveObj;
MDagPath dagPath;
MString txt;
if( selection.length() )
selection.getDependNode(0, curveObj );
if( curveObj != MObject::kNullObj )
MFnNurbsCurve( curveObj );
No comments:
Post a Comment