mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
242 stars 93 forks source link

Rhino.RhinoApp.Version() #61

Closed golsby closed 6 years ago

golsby commented 12 years ago

Please add a Version property to Rhino.RhinoApp that returns a System.Version.

Historically, Rhino has based it's revisions on a date rather than a number, so all the calls inside Rhino seem to use CRhinoApp::GetBuildDate(). It probably makes sense to add a function on CRhinoApp to get the Version, and then call it from RhinoCommon.

pearswj commented 6 years ago

See http://developer.rhino3d.com/api/RhinoCommon/html/P_Rhino_RhinoApp_Version.htm (available in Rhino 5 and later)