Hello!

Did you know that logged in users can see a lot more content?

2019 Table of Contents

Examples: Rebar set modifiers in custom components

Last updated March 12, 2019 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2019

Examples: Rebar set modifiers in custom components

Examples: Rebar set modifiers in custom components

You can use rebar set modifiers in custom components. You can define the rebar set bar and modifierline or polyline that can be used to locally modify reinforcing bars in a rebar set

Rebar set modifiers can be rebar set property modifiers, end detail modifiers, or splitters. Also rebar set secondary guidelines behave like rebar set modifiers.

Polyline modifier may have corner chamfers. Each rebar set modifier only affects those rebar set reinforcing bars that its projection touches.

properties using parametric variables.

For each modifier property that you want to parametrize, the corresponding Apply property is also needed. By using the Apply property you can override an existing property value with an empty value. Clearing an existing value is not possible without the Apply property.

Example: Define the class and size of rebar set bars using a property modifier

In this example, you will use a rebar set property modifierrebar set modifier that can be used to locally change the properties of certain reinforcing bars in a rebar set

for defining the classpart property that groups parts according to identifiers given by the user

The identifiers of classes are usually numbers. Classes can be used for defining the color of parts in the model, for example. Class does not influence the numbering of model objects.

and size of certain rebar set bars in a custom componentcomponent that the user creates and uses for creating model objects whose composition the user can modify as a group

. You will define the class and size using parametric variables and modifier-specific Apply properties.

The parametric variablevariable used to define a value for a parametric property

A parametric variable does not include a dependency.

For example, name, material grade, and bolt size are parametric variables.

for class will be defined so that if the class is set to 0, the class value is not applied, but the original class of the rebar set is used.

  1. In the model, select a previously created custom component that contains a rebar set and a property modifierrebar set modifier that can be used to locally change the properties of certain reinforcing bars in a rebar set

    .

    Note:

    Custom parts do not have a component symbolsymbol in a model that indicates a component type, functions as a link to component properties, and can be used to control component objects

    Component symbol of a connection or a detail also indicates the status of the connection or the detail using colors.

    in the model.

    To select custom components, ensure that the Select components selection switchswitch used for controlling which object types can be selected

    is active.

  2. Right-click and select Edit Custom Component.
  3. In the custom component editortool that is used for modifying component that is created by a custom component, and for creating dependencies between component objects and other model objects

    , click the Display variables button.

  4. In the Variables dialog box, create and define parametric variables as follows:
    1. Click Add three times to create three new parametric variables.

      The variable names will be P1, P2, and P3.

    2. Modify the variable P1 for class number input as follows:
      • In the Value type list, select Number.
      • In the Label in dialog box box, enter Class.
    3. Modify the variable P2 for Apply property control as follows:
      • In the Formula box, enter =if (P1==0) then 0 else 1 endif.

        This means that if P1 ( Class ) is set to 0, the class property is not applied when you use the custom component. If P1 is set to any other value, then the class property is applied.

      • In the Value type list, select Yes/No.
      • In the Visibility list, select Hide.

        This means that the variable P2 will not be visible in the custom component dialog box.

      • In the Label in dialog box box, enter Apply class.
    4. Modify the variable P3 for bar size input as follows:
      • In the Name box, change the name to P3_size.
      • In the Value type list, select Rebar size.
      • In the Label in dialog box box, enter Bar size.
      • In the Formula box, replace zero with a valid bar size value.

  5. In the Custom component browser , link the parametric variables to the property modifier properties:
    1. Browse for Component objects > Rebar property modifier > General properties.
    2. Right-click Class , select Add Equation , enter P1 after the equal sign (=), and then press Enter.

      Similarly, link the other variables and properties as follows:

      • Apply class property = P2
      • Size = P3_size
      • Apply size property = 1

  6. Save and close the modified custom component.

Now you have the following properties available in the custom component's dialog box and you can modify the class and size of those rebar set bars that are affected by the property modifier:

You can use the component in locations similar to where the component was originally created. This component is not adaptive and Tekla Structures does not adjust the component dimensions to suit any changes in the model. To make the custom component adaptive, you need to modify it in the custom component editor.

Example: Create and modify rebar hooks using an end detail modifier

In this example, you will use a rebar set end detail modifierrebar set modifier that can be used to create hooks or threading for certain reinforcing bars in a rebar set

The rebar set end detail modifier affects the nearest end of the reinforcing bar.

for creating hooks at certain rebar set bar ends in a custom component. You will define the hook properties using parametric variables and modifier-specific Apply properties.

  1. In the model, select a previously created custom component that contains a rebar set and an end detail modifierrebar set modifier that can be used to create hooks or threading for certain reinforcing bars in a rebar set

    The rebar set end detail modifier affects the nearest end of the reinforcing bar.

    .

    Note:

    Custom parts do not have a component symbol in the model.

    To select custom components, ensure that the Select components selection switch is active.

  2. Right-click and select Edit Custom Component.
  3. In the custom component editor, click the Display variables button.
  4. In the Variables dialog box, create and define parametric variables as follows:
    1. Click Add four times to create four new parametric variables.

      The variable names will be P1, P2, P3, and P4.

    2. Modify the variable P1 for hook type input as follows:
      • In the Value type list, select Rebar hook type.
      • In the Label in dialog box box, enter Hook type.
      • In the Formula box, enter 4 for a custom hook.

        The different hook types are identified with numbers: 1 = 90 degree hook, 2 = 135 degree hook, 3 = 180 degree hook, 4 = custom hook.

    3. Modify the variable P2 for hook angle input as follows:
      • In the Value type list, select Number.

        Note that although Angle is available as a value type, the Number option must be used for the hook angle.

      • In the Label in dialog box box, enter Custom hook angle.
    4. Modify the variable P3 for hook length input as follows:
      • In the Value type list, select Number.
      • In the Label in dialog box box, enter Custom hook length.
    5. Modify the variable P4 for hook radius input as follows:
      • In the Value type list, select Number.
      • In the Label in dialog box box, enter Custom hook radius.

  5. In the Custom component browser , link the parametric variables to the end detail modifier properties:
    1. Browse for Component objects > Rebar end detail modifier > General properties.
    2. Right-click Hook angle , select Add Equation , enter P2 after the equal sign (=), and then press Enter.

      Similarly, link the other variables and properties as follows:

      • Hook radius = P4
      • Rebar hook type = P1
      • Apply hook angle property = 1
      • Hook length = P3
      • Apply hook radius property = 1
      • Apply hook length property = 1
      • Apply hook type property = 1

  6. Save and close the modified custom component.

Now you have the following properties available in the custom component's dialog box and you can modify the hooks of those rebar set bars that are affected by the end detail modifier:

You can use the component in locations similar to where the component was originally created. This component is not adaptive and Tekla Structures does not adjust the component dimensions to suit any changes in the model. To make the custom component adaptive, you need to modify it in the custom component editor.

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
No votes yet