vwu (Value with unit)

Tekla Structures
Modified: 14 Nov 2024
2025
Tekla Structures

vwu (Value with unit)

This function is used to convert a specified unit to a product unit, which is a number with decimals.

Parameters: value, unit string ("ft" = Feet, "in" = Inch, "m" = Meter, "cm" = Centimeter, "mm" = Millimeter, "rad" = Radian, "deg" = Degree)

Below are some examples from value field formulas.

This formula converts 4.0 inches to a product unit. It returns 101.60 mm, if the length unit is set to mm and decimals are set to 2 in the Value Field Properties dialog.


This formula converts 2.0 radians to a product unit. It returns 114.59 degrees, if angle is set to degrees and decimals are set to 2 in the Value Field Properties dialog.


Was this helpful?
Previous
Next