Load external model

I’m trying to create a plugin which needs to place an external 3dm (a smooth tetrahedron mesh) file at specific locations.
What’s the best way to read this geometry from a file and place it at specified locations with attributes like layer, color etc via RhinoCommons?
I can’t allow the plugin to open a pop-up window asking user for a file location.
Thank you.

Hi Amit, you can use http://developer.rhino3d.com/api/RhinoCommonWin/html/T_Rhino_FileIO_File3dm.htm the method Read can access the objects into the file.

Regards :slight_smile:

Great. Thanks a lot!