cvExpandCmd/cvExpandCmd.cpp
#include <maya/MSimple.h>
#include <maya/MObject.h>
#include <maya/MGlobal.h>
#include <maya/MItSelectionList.h>
#include <maya/MItSurfaceCV.h>
#include <maya/MSelectionList.h>
#include <maya/MDagPath.h>
#include <maya/MIOStream.h>
{
iter.getDagPath( path, component );
!cvIter.
isDone(); cvIter.next() ) {
newList.
add( path, cvIter.cv() );
}
} else {
newList.
add( path, component );
}
}
return MS::kSuccess;
}