Adding to the conversation, there is also the UnitFormatUtils as part of Revit API that allows all sorts of formatting conversions
See here pyRevit/units.py at 92cb346eece706db810468984b3fa8564f14b16c · eirannejad/pyRevit · GitHub
Adding to the conversation, there is also the UnitFormatUtils as part of Revit API that allows all sorts of formatting conversions
See here pyRevit/units.py at 92cb346eece706db810468984b3fa8564f14b16c · eirannejad/pyRevit · GitHub