I’m trying to implement own unit converter in my plugin for Rhino 7. And I have stuck with CustomUnits. As I understand there should be appropriate class that contains name and UnitsPerMeter value. But I couldn’t find it. Does someone know how it can be solved?
P.S. Also, I tried using
RhinoMath.UnitScale() methods to get factor value for CustomUnits, but it doesn’t work and it always return one.