Modify the dialog box of a custom component

Tekla Structures
2019
Tekla Structures

Modify the dialog box of a custom component

Tekla Structures automatically creates a dialog box for each custom component you define. You can customize the dialog box by using the Custom Component Dialog Editor tool.

To open the dialog editor, select a custom component in the model, right-click, and select Edit Custom Component Dialog Box.

To

Do this

View and edit object properties

  1. Select a dialog box element. For example, a text box.

  2. Click Modify > Properties.

    Now you can view and edit the current properties of the dialog box element. For example, you can check that you have the correct text box under each label in the dialog box.

Alternatively, you can double-click the dialog box element. If the dialog box element will not open for viewing and editing, try double-clicking the space right underneath the check box:

Add a dialog box element

Click Insert and select a suitable element from the list. The options are:

  • Tab Page : add a new tab
  • Label : add a label for a text box or list
  • Parameter : add a text box
  • Attribute : add a list
  • Part : add some basic part properties
  • Profile : add some basic profile properties
  • Picture : add an illustrative image of the custom component

Add an image

  1. Click Insert > Picture to show the contents of the Image Folder set in Tools > Options.

  2. Select an image.

    The image must be in the bitmap ( .bmp ) format.

  3. Click Open.

  4. Drag the image to the desired location.

Add a tab

  1. Click Insert > Tab Page .

  2. Double-click the new tab.

  3. Enter a new name, and then press Enter.

Note:

Each tab may contain up to 25 fields. If you have more than 25 fields visible, Tekla Structures automatically creates another tab.

Show or hide the pixel grid

Click.

Tekla Structures displays a pixel grid that makes it easier to align elements in the dialog box.

Move a dialog box element

Drag the dialog box element to a new location.

You can also use the keyboard shortcuts Ctrl+X (cut), Ctrl+C (copy), and Ctrl+V (paste). For example, to move a dialog box element to another tab: select the dialog box element, press Ctrl+X , go to another tab, and press Ctrl+V.

Select multiple dialog box elements

Hold down the Ctrl key and click the dialog box elements, or use area selection.

Rename a tab or text box label

  1. Double-click the tab or text box label.

  2. Type a new name.

  3. Press Enter.

Remove a dialog box element

  1. Select the dialog box element you want to remove.

  2. Press Delete.

Remove a tab

  1. Select the tab.

  2. Right-click and select Delete.

Add images to a list

  1. Select the list element.

  2. Click Modify > Properties.

  3. Click Edit Values.

  4. Click Browse Add.

  5. Select the image you want to use and click Open.

  6. Repeat steps 4–5 for any other images you want to use.

  7. Click OK to save the changes.

Save the changes

Click File > Save.

Was this helpful?
Previous
Next