How to get Custom UnitSystem in RhinoCommon


We are developing a C# plugin using the RhinoCommon API for Rhino5 & Rhino6 and I am looking for a way to get the scaling value of the “Custom” UnitSystem. The documentation mentions that this value is available in the ON_UnitSystem class (or ON_3dmUnitsAndTolerances depending on the API version), which doesn’t seem to exist inside RhinoCommon and looks like to be an OpenNurbs class. ( or )

Where would this information be available inside RhinoCommon? Or is it available in OpenNurbs only?

Thank you.

I think you are looking for

That will do, thanks a lot!