2027 Class Back to 2027
C

UnitFormatUtils

Version comparison

Members across versions

14 members across 9 versions · 8 added later · 8 removed · 8 changed · 8 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M Format(Units, UnitType, Double, Boolean, Boolean, FormatValueOptions)
same changed missing missing missing missing missing missing missing
M Format(Units, UnitType, Double, Boolean, Boolean)
same changed missing missing missing missing missing missing missing
M Format(Units, ForgeTypeId, Double, Boolean)
not yet introduced added same same same changed same same same
M Format(Units, UnitType, Double, Boolean, FormatValueOptions)
not yet introduced added missing missing missing missing missing missing missing
M Format(Units, UnitType, Double, Boolean)
not yet introduced added missing missing missing missing missing missing missing
M Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
not yet introduced added same same same changed same same same
M TryParse(Units, UnitType, String, ValueParsingOptions, Double%, String%)
same changed missing missing missing missing missing missing missing
M TryParse(Units, UnitType, String, Double%)
same changed missing missing missing missing missing missing missing
M TryParse(Units, UnitType, String, ValueParsingOptions, Double%)
same changed missing missing missing missing missing missing missing
M TryParse(Units, UnitType, String, Double%, String%)
same changed missing missing missing missing missing missing missing
M TryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%, String%)
not yet introduced added same same same same same same same
M TryParse(Units, ForgeTypeId, String, Double%, String%)
not yet introduced added same same same same same same same
M TryParse(Units, ForgeTypeId, String, Double%)
not yet introduced added same same same same same same same
M TryParse(Units, ForgeTypeId, String, ValueParsingOptions, Double%)
not yet introduced added same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
Identical to 2027: 2025, 2025.3, 2026
2027 current

Changes in 2021 vs 2027 8 added 2 changed

Flip API Versions →

Added in 2021 (new since 2027)

Changed members

UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
→ returns String The formatted string.
UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
formatValueOptions FormatValueOptions Additional formatting options.
→ returns String The formatted string.

Changes in 2022 vs 2027 2 changed

Flip API Versions →

Changed members

UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
→ returns String The formatted string.
UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
formatValueOptions FormatValueOptions Additional formatting options.
→ returns String The formatted string.

Changes in 2023 vs 2027 2 changed

Flip API Versions →

Changed members

UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
→ returns String The formatted string.
UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
formatValueOptions FormatValueOptions Additional formatting options.
→ returns String The formatted string.

Changes in 2024 vs 2027 2 changed

Flip API Versions →

Changed members

UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
→ returns String The formatted string.
UnitFormatUtils.Format(Units, ForgeTypeId, Double, Boolean, FormatValueOptions)
units Units The units formatting settings, typically obtained from <a href="9ed56178-e9ae-b4bc-1c0e-e6a867ae3557.htm">Document.GetUnits()</a>.
specTypeId ForgeTypeId Identifier of the spec of the value to format.
value Double The value to format, in Revit's internal units.
forEditing Boolean True if the formatting should be modified as necessary so that the formatted string can be successfully parsed, for example by suppressing digit grouping. False if unmodified settings should be used, suitable for display only.
formatValueOptions FormatValueOptions Additional formatting options.
→ returns String The formatted string.