DimensionSetBaseAttributesDimensionFormatAttributes Class |
The DimensionFormatAttributes class controls the precision, format and unit of the dimension.
SystemObject
Tekla.Structures.DrawingGenericAttributesBase
Tekla.Structures.DrawingDimensionSetBaseAttributesDimensionFormatAttributes
Tekla.Structures.DrawingGenericAttributesBase
Tekla.Structures.DrawingDimensionSetBaseAttributesDimensionFormatAttributes
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
The DimensionSetBaseAttributesDimensionFormatAttributes type exposes the following members.
| Name | Description | |
|---|---|---|
| DimensionSetBaseAttributesDimensionFormatAttributes |
Creates a new dimension format attributes instance. By default the format rounds the dimension value to
the nearest whole and shows it with no decimals. The unit is selected automatically.
| |
| DimensionSetBaseAttributesDimensionFormatAttributes(DimensionSetBaseAttributesDimensionValuePrecisions, DimensionSetBaseAttributesDimensionValueFormats, DimensionSetBaseAttributesDimensionValueUnits) |
Creates a new dimension format attributes instance with the given parameters.
|
| Name | Description | |
|---|---|---|
| Format |
The format of the dimension.
| |
| Precision |
The precision of the dimension.
| |
| Unit |
Gets or sets the unit of the dimension. Changing this attribute
does not have any effect if the dimension measures an angle.
| |
| UseDigitGrouping |
Gets or sets a value indicating whether digit grouping should be used or not.
|
| Name | Description | |
|---|---|---|
| IsEqual |
Compares the current object with an object of the same type.
(Overrides GenericAttributesBaseIsEqual(Object).) |