How to import/export block from/to external file into open document?

The easiest way to import geometry from another file is to just script the Import command using RhinoApp.RunScript. However, in order to run a Rhino command from a plug-in command, your plug-in command must have a special attribute. See the following dev note for details.

http://developer.rhino3d.com/guides/rhinocommon/run_rhino_command_from_plugin/

1 Like