Rhino Copy commond


#1

Dear all
Is there a c++ SDK function uesd to copy selected objects?


(Steve Baer) #2

You can copy objects using
CRhinoDoc::TransformObject (see rhinoSdkDoc.h) for a description of this function.

If you want to copy all selected objects, you can set up a CRhinoObjectIterator with EnableSelectedFilter(true) and pass that to CRhinoDoc::TransformObjects