Example: Arrange text boxes and labels in a custom component dialog box

Tekla Structures
2021
Tekla Structures

Example: Arrange text boxes and labels in a custom component dialog box

This example shows how to arrange the text boxes and labels around a list in the custom component dialog box. You can do this either in the custom component dialog editor or by editing the input (.inp) file manually.

In the beginning of this example the dialog box looks like the following:

Arrange the dialog box elements more nicely, in the following manner:

Arrange the elements by using the dialog editor

  1. Create a custom stiffener detail with all the needed variables that control the creation of stiffener plates.
  2. Open the stiffener dialog box for editing.
    1. In the model, select the custom stiffener detail.
    2. Right-click and select Edit Custom Component Dialog Box.
  3. Drag the Plates created label above the list with images.
  4. Drag the Left plate class label and the corresponding text box to the left side of the list.
  5. Drag the Right plate class label and the corresponding text box to the right side of the list.
  6. Drag the Stiffener set back label and the corresponding text box underneath the list.
  7. In the dialog editor, click File > Save to save the changes.
  8. Close and reopen the model for the change to take effect.

Arrange the elements by editing the .inp file

  1. Create a custom stiffener detail with all the needed parametric variables that control the creation of stiffener plates.
  2. In the model, click File > Open the model folder to open the current model folder.
  3. Go to the \CustomComponentDialogFiles folder.
  4. Open the .inp file in a text editor.
  5. Edit the file as follows:

  6. Save the .inp file.
  7. Close and reopen the model for the change to take effect.
Was this helpful?
Previous
Next