Hello!

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

Define AutoDefaults settings and rules

Last updated July 29, 2019 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2019

Define AutoDefaults settings and rules

Define AutoDefaults settings and rules

Use AutoDefaultspredefined properties that AutoConnection uses when creating connections

to set up properties for existing connections. With AutoDefaults you can create rules that define the situations where the predefined properties are used.

AutoDefaults settings

To open the AutoDefaults setup dialog box, click File > Catalogs > AutoDefaults settings.

Icon Setup level Description

Rule group You can use rule groups to organize settings according to different standards, projects, manufacturers, and models. You can create, modify and delete rule groups.

Components The component tree structure shows the connections that are available on component toolbars in Tekla Structures.

Rule set Rule sets control which properties to use in certain situations. You can create additional rule sets.

Tekla Structures processes AutoDefaults rule sets in the order in which they are in the tree, so you can control the selection of properties.

Properties file The properties files are under the rule sets. By default, each connection has a standard properties file that defines the standard properties, for example, standard.j144 or standard.j1042.

You can create additional properties files for the properties that you want to use again and give the files distinctive names.

Defaults.zxt file

When you use AutoDefaults, Tekla Structures saves the AutoDefaults rules in a zipped defaults.zxt text file in the \attributes folder under the current modelmodel that is active in Tekla Structures

The current model can be a single-user model, a shared model or a working model.

folder.

You can copy the defaults.zxt file to the project or firm folderfolder that is used for storing Tekla Structures-related files customized for a particular organization

A Tekla Structures user can, for example, customize a company’s cloning templates and save them in a sub-folder located under the firm folder. After this, the customized cloning templates can be used in all projects carried out for the company.

to make it available in other models. Each time you modify the AutoDefaults setup, you need to recopy this file to the firm or project folderfolder that is used for storing Tekla Structures-related files customized for a particular project

. To use the modified setup in other models, restart Tekla Structures.

Note:

We do not recommend that you edit the defaults.zxt file using a text editor, but if you do, ensure that you are using the right syntax. The easiest way to unzip the .zxt file is to change the file extension .zxt to txt.gz and unzip the file. Change the extension back to .zxt when you have finished. You do not need to zip the file after editing it, Tekla Structures can also read the unzipped file.

Create a rule group for AutoDefaults

You can define rule groups for AutoDefaults to group the rules according to different standards, projects, or manufacturers, for example.

  1. On the File menu, click Catalogs > AutoDefaults settings.
  2. Right-click an existing rule group and select New Rule Group.
  3. Click the New group to rename it.

    Give the rule group a name that reflects the contents of the group. For example, use the fabricator's name, the project name, or any name that clearly identifies the rules that you want to use for a specific model.

When you create a new rule group, Tekla Structures automatically adds the existing components to the group.

Create a rule set for AutoDefaults

You can create rule sets to define which connection properties are used when specific conditions in the model are met.

  1. On the File menu, click Catalogs > AutoDefaults settings.
  2. Click the plus icon in front of the rule groupto open the tree structure.
  3. Click the plus icon in front of the relevant group of componentsand connection.
  4. Right-click an existing rule setmaster drawing that contains model selection filters and where the properties and drawing settings vary based on the selected model objects

    and select New Rule Set.
  5. Right-click the new rule set and select Edit Rule Set....
  6. Enter a name for the rule set.
  7. Select a rule from the Available rules list.
  8. Click the right arrow button to move the selected rule into the list of Rules in rule set.
  9. Enter the values used in the rule: either an exact value, or minimum and maximum values.
  10. Select from the Parameter files selection in rule set list how the properties are selected in the rule set.
    Option Description
    Use combination of first parameters Tekla Structures uses the properties files it finds in the first matching sub-rule set and does not check other rule sets.
    Iterate until connection symbol is green Tekla Structures checks sub-rule sets until it finds matching properties.
    Iterate until connection symbol is yellow Tekla Structures checks sub-rule sets until it finds matching properties.
    Use combination of all parameters Tekla Structures checks all rule sets and uses the properties files in all matching rule sets. The order of the properties files is important.

    When Tekla Structures combines the properties files, the most recent files (the lowest in the tree) override previous ones. If you do not enter any values for the properties, Tekla Structures does not override the previous property values.

  11. Click OK.
Note:

The order of the rules in the tree structure is important. Tekla Structures uses the first rule that matches the conditions within the model so you should place the most limiting rule highest in the tree, and the most generic rule lowest.

You can change the priority of a rule set by right-clicking the rule set and selecting Move up or Move down.

Modify connection properties for AutoDefaults

Each connection has a default standard property filefile that contains properties or settings in the property pane or a dialog box

Property files are saved in the current model folder. The user can copy property files to the project or firm folders for future use.

User-defined attributes can be stored as a property file.

that defines the properties for the connection. You can modify the properties that the standard fileproperty file that Tekla Structures uses by default

Standard files are used, for example, for loading frequently used values into the property pane or a dialog box.

Standard file name is standard.* where the symbol * is the file name extension. For example, standard.clm file is used for column properties.

uses. Save the connection properties that you want to use and set the standard file to use these properties in the AutoDefaults settings.

  1. On the File menu, click Catalogs > AutoDefaults settings.
  2. Click the plus icon in front of the rule groupto open the tree structure.
  3. Click the plus icon in front of the relevant group of componentsand connection.
  4. Right-click the standard.j connection file that you want to modify, for example, standard.j144 and select Edit Connection Parameters....
  5. In the connection dialog box, set the properties that you want to save.

    Such properties could be, for example, bolt properties, profiles, and materials.

  6. Enter a descriptive name for the properties in the box next to the Save as button.
  7. Copy this name in the Connection code option on the General tab.

    Using the same name allows you to check which properties Tekla Structures used in specific situations. Tekla Structures does not automatically show the AutoDefaults values in the connection dialog box.

  8. Click Save as.

    Tekla Structures saves the properties file in the \attributes folder under the current model folderfolder that is used for storing files associated with a model

    Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).

    In multi-user mode all users access the same model folder.

    . The filename consists of the name you entered in Save as and the file extension .jXXX , where XXX is the connection number, for example, sec_0-190.j144.

  9. Click Cancel to close the connection dialog box and return to the AutoDefaults setup dialog box.

    If you click OK to close the connection dialog box, you need to load the default properties the next time you use the connection. Using the default properties ensures that AutoDefaults can modify the properties.

  10. Right-click the standard.j file again and select Select Connection Parameters....

    The Attribute File List dialog box that opens contains the properties that have been set and saved in the connection dialog box.

  11. Select a file in the Attribute File List dialog box.
  12. Click OK.

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