Create a new user-defined drawing attribute

Tekla Structures
Tekla Structures

Create a new user-defined drawing attribute

If you want to add a new line in the user-defined drawing attributes dialog box and a new column in the Drawing List , you need to create your own objects.inp and add a new user-defined attribute there. You also need to do this if you want the user-defined attribute to be available in the Template Editor.

Before you start, close Tekla Structures.

  1. Open the objects.inp file located by default in ..\ProgramData\Tekla Structures\<version>\environments\common\inp.
  2. Save the objects.inp file in your model, project or firm folder.
  3. Delete all user-defined attribute definitions from the objects.inp file, except the property definitions in the beginning of the file that describe the properties, and the sections that define the new tab to different drawing types. Also leave one property definition in section User-defined attributes for objects that you can use as a template for the new property.
  4. Enter the name of the tab page where you want the new user-defined attributes to be located and the attribute properties.

    Do not enter the names of the tab pages that come with the installation, use a new one instead.

  5. To show the user-defined attribute in the Drawing List and in the user-defined attributes dialog box, set status_flag to yes.

  6. Define the drawing types where you want to use the new tab containing the new user-defined attribute.

  7. Save and close the file.
  8. Update the definitions of the user-defined attributes:
    1. On the File menu, click Diagnose & repair > Diagnose & change attribute definitions .

      The Diagnose & Change Attribute Definitions dialog box is displayed.

    2. If there are conflicts between your objects.inp and the default objects.inp , select the definition in the area on the right and click Change current settings to selected objects.inp settings.

      The definition of the user-defined attribute is updated in the model.

  9. On the Drawings & reports tab, click Drawing properties and select the drawing type.

    In this example, select GA drawing.

  10. Click User-defined attributes.

    The user-defined drawing attributes dialog box of the general arrangement drawing shows the tab you created.

  11. Use Save as to save the properties for future use.
  12. Click OK and create a general arrangement drawing.
  13. Right-click the created drawing in the Drawing List and select User-defined attributes.
  14. Go to the new tab ( My tab ) and enter the name needed information (the designer name in the Designed By box).
  15. Click Modify and close the dialog box.

    The Drawing List contains a column for the new user-defined attribute, and the name of the designer is displayed.

Was this helpful?