RhinoCommon: Import of another Rhino file into current Rhino file


#1

Hi,

Not sure if this is highlighted anywhere already.

Any hint how to do it?
Small example would be highly appreciated.

Thanks,
Dmitriy


(Dale Fugier) #2

Hi @Dmitriy,

Make a script runner command, and then call RhinoApp().RunScript("_-Import ...").

– Dale


#3

Thanks, Dale


#4

If you want to process the objects before they are added to the doc then the File3dm class may be of interest as well.
http://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_FileIO_File3dm.htm