Library to open/save .3dm files

Hello, I am new in Rhino. I had an overview of the developer section. I am trying to figure out what I need to start with some simple operations related to .3dm files such as: 1) save the current (open in Rhino GUI) drawing into a new .3dm file 2) ask Rhino GUI which is the current open file.

Should I go for Rhino Common or Rhino3dmIO from openNURBS?

Thank you

Hi @mcollareda,

Do you need your code to run inside of Rhino, or outside of Rhino and in some other application?

What programming languages are you familiar with?

Thanks,

– Dale

Thank you for your answer.
I am familiar with C#.NET.
The outside/inside matter is to be decided. It could be either of the following

  1. having Rhino running with (for example) a shape drawn on the main area > having a new button inside Rhino to save the new file or to send to another service or application (like a plug-in)
  2. having Rhino running with (for example) a shape drawn on the main area > having a separated application that connect to Rhino to save the new file (link connecting to a process)

Is this possibile?
Which is the easiest?

Hi @mcollareda,

Proposition #1 is certainly the easiest. You simply create a Rhino .NET plug-in that uses our RhinoCommon .NET API.

– Dale

Thank you