Add level attributes in automatic part marks

Tekla Structures
Upraveno: 30 Říj 2025
2026
Tekla Structures

Add level attributes in automatic part marks

You can add level attributes, such as TOP_LEVEL, BOTTOM_LEVEL, ASSEMBLY_TOP_LEVEL, ASSEMBLY_BOTTOM_LEVEL, and ASSEMBLY.MAIN_PART.TOP_LEVEL, in part marks as user-defined attributes.

The level attributes take the dimension format from the MarkDimensionFormat.dim file. To change the dimension format for a dimension rule, change the dimension format in the dimension properties property pane in an open drawing, save the dimension properties, and load the changed dimension properties in the dimensioning rule that you use for creating the dimensions in a view.

Note:

Users working in the same model should ensure that they all use the same version of the MarkDimensionFormat.dim file.

You can add level attributes in automatic and manual marks.

To change the dimension format and add level attributes:

  1. In an open drawing, click to open the property pane, and select Straight dimension from the property pane object list.
  2. Select MarkDimensionFormat from the properties file list at the top.
  3. Change the unit, precision and format as desired.

  4. Click Save to save the changes in the MarkDimensionFormat file.
  5. On the Drawings & reports tab, click Drawing properties and select the drawing type.
  6. Load drawing properties that are as close to the ones you need as possible.
  7. Click View creation in the options tree on the left, select the view and the properties that you want to change, and click View properties.
  8. Click Part markPart mark.
  9. In part mark properties, double-click the User-defined attribute element to add it to the mark.
  10. Enter the attribute name in the Mark content - user defined attribute dialog.
    and/or the following:

    ASSEMBLY.MAIN_PART.TOP_LEVEL.

  11. Click Dimensioning in the options tree.
  12. Select a dimension rule from the list and click Edit rule.
  13. Select MarkDimensionFormat from the Dimension properties list.
  14. Save the dimensioning rule by clicking Save and click Close.
  15. Save the view properties clicking Save.
  16. Click Save to save the drawing properties, then click OK and create the drawing.

Example

In the following example, TOP_LEVEL and ASSEMBLY_TOP_LEVEL have been added in the mark.

In the following example, the top level of the part itself (TOP_LEVEL), the top level of the assembly (ASSEMBLY_TOP_LEVEL), and the top level of the assembly main part (ASSEMBLY.MAIN_PART.TOP_LEVEL) have been added in the mark.

Difference between basic format of level attributes and formats with _GLOBAL, _UNFORMATTED, _BASEPOINT, and _PROJECT

In its basic format, a level attribute gives the level information relative to the model origin and takes the unit and accuracy from MarkDimensionFormat.dim dimension property file.

_GLOBAL: Returns the level information by the global axis. For example, TOP_LEVEL_GLOBAL returns the top level information by the global axis and takes the unit and accuracy from MarkDimensionFormat.dim dimension property file.

_UNFORMATTED: Returns the level as a length in mm. You can format it and include it into a formula in a template. For example, TOP_LEVEL_UNFORMATTED gives the top level information relative to the model origin and returns the level as a length in mm.

_BASEPOINT: Gives the level information relative to the base point selected in the view. For example, TOP_LEVEL_BASEPOINT gives the top level of a single part, cast unit, assembly, part of a connection, or a pour object relative to the base point selected in the view and takes the unit and accuracy from MarkDimensionFormat.dim dimension property file.

_PROJECT: Gives the level information relative to the base point selected as the project base point. For example, TOP_LEVEL_PROJECT gives the top level of a single part, cast unit, assembly, part of a connection, or a pour object relative to the base point selected as the project base point and takes the unit and accuracy from MarkDimensionFormat.dim dimension property file.

Bylo to užitečné?
Odeslat
Předchozí
Další