UnitFormatUtils Members


Methods

  NameDescription
Public methodStatic memberFormat(Units, ForgeTypeId, Double, Boolean)
Formats a number with units into a string.
Public methodStatic memberFormat(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
Formats a number with units into a string.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, Double)
Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double)
Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, String, Double, String)
Parses a formatted string into a number with units if possible.
Public methodStatic memberTryParse(Units, ForgeTypeId, 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 →