How do I get current distance display mode?

I am writing in Python trying and to format a distance using Rhino.UI.Localization(), but I don’t know how to get the current DistanceDisplayMode(), when I try something like print "The distance display mode is currently: ", Rhino.UI.DistanceDisplayMode() it is always decimal.

Thanks,
Sam

Rhino.UI.DistanceDisplayMode() is an enumeration of the three possible modes, it doesn’t tell you what the current mode is.

Unfortunately I can’t tell you what does…

I don’t know if this is being deprecated, but info on it seems jolly scarce. Maybe @dale can help.

Crazy - I’ve logged in issue so we can look into it.

– Dale

It is still settable and gettable in Rhinoscript with Rhino.UnitDistanceDisplayMode