FormBaseGetUnitDecimals Method |
Gets the number of decimals Tekla Structures uses with the specified unit type.
Namespace: Tekla.Structures.Dialog
Assembly: Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
Parameters
- unit
- Type: Tekla.Structures.DialogdotdiaUnitTypes_e
The specified unit type.
Return Value
Type: Int32The number of decimals used, 0 (no decimals or invalid unit type) or -1 (failed).