UnitFormatUtils Members


Methods

Name Description
Public method Static member Format(Units, UnitType, Double, Boolean, Boolean)
Formats a number with units into a string.
Public method Static member Format(Units, UnitType, Double, Boolean, Boolean, FormatValueOptions)
Formats a number with units into a string.
Public method Static member TryParse(Units, UnitType, String, Double )
Parses a formatted string into a number with units if possible.
Public method Static member TryParse(Units, UnitType, String, ValueParsingOptions, Double )
Parses a formatted string into a number with units if possible.
Public method Static member TryParse(Units, UnitType, String, Double , String )
Parses a formatted string into a number with units if possible.
Public method Static member TryParse(Units, UnitType, String, ValueParsingOptions, Double , String )
Parses a formatted string into a number with units if possible.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →