RhinoCommon: Import of another Rhino file into current Rhino file

Hi,

Not sure if this is highlighted anywhere already.

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

Thanks,
Dmitriy

Hi @Dmitriy,

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

– Dale

Thanks, Dale

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