What exactly is CurrentRhinoId and Rhino7Id

using Rhino;
Console.WriteLine("id: {0}",Rhino.RhinoApp.CurrentRhinoId);
Console.WriteLine("Rhino7 id: {0}",Rhino.RhinoApp.Rhino7Id);

the documentation is a bit short…
Rhino7Id Gets the ID of Rhino 7
RhinoId Gets the current ID of Rhino.

What are those Id s about ? under which circumstances will they be the same / will change.
(restart, multiple windows, update, new Version, …)
Can I identify a unique installation of Rhino with one of this properties ? or is it just related to the current Process and will randomly change …

thanks for more infos - kind regards -tom

It gets the Rhino Guid, apparently It returns the same guid for both methods.
It calls for

CRhinoApp_GetGUID

This function is likely used to identify the specific Rhino client and its version. Any insights on this, @dale?

Every version of Rhino is given an id. This id is used for things like writing what version of Rhino wrote a 3dm file during File IO. CurrentRhinoId will give you the same result as Rhino7Id if you are running Rhino 7. It will give you a different value if you are running Rhino 8.

1 Like

ok - so it has nothing to do with the licence or individual set up of rhino ?

That is correct; this has nothing to do with either of those items

1 Like