Create a new user-defined drawing attribute

Tekla Structures
2021
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 Document manager, 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 Template Editor.

Before you start, close Tekla Structures.

  1. Open the objects.inp file located by default in ..\ProgramData\Trimble\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 Document manager 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 and change attribute definitions.

      The Diagnose and 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 Document manager and select User-defined attribute .
  14. Go to the new tab (My tab) and enter the needed information (the designer name in the Designed By box).
  15. Click Modify and close the dialog box.

    Document manager contains a column for the new user-defined attribute, and the name of the designer is displayed:

Oliko tästä apua?
Edellinen
Seuraava