Convert Unit to String [STRCALCUNIT]

Converts a unit value to a string, based on the Calculation Units and Rules settings in Project Preferences.

Syntax

STRCALCUNIT (value)

Data Types of the Arguments

Length, Area, Volume, Angle

Data Type of the Result

String

Example

Convert the Insulation Skin Thickness (a Length) into a String

Expression

STRCALCUNIT (Insulation Skin Thickness)

Result

25

Notes

To convert a non-unit value (e.g. Home Story Number) to a string, use the Convert to String [STR] function.

For another example using STRCALCUNIT, see Example 3: Expand Property with Descriptive Text String.

  • Was this Helpful ?
  • YesNo
Relevant topics
Convert to String [STR]
Converts a non-unit numeric value or a True/False value into a string. The resulting string shows two decimal places by default. Syntax ...
Unit Conversion for IFC Export
Set unit types globally for the export of all coordinates, geometric parameters and “Measure”-type IFC Properties.