This functionality is only available for certain module packages. Info / Copyright

You are here: Designer > Typical-Groups > Working with instances

Working with instances

The usage of instances allows you to define the functions of your product, which may occur several times, within one Typical-GroupA Typical-Group is an organizational element that serves to group Macro-Typicals and other Typical-Groups.. At the definition of Typical-Groups you have the possibility to allow the generation of several instances of an element of the Typical-Group. The designer in Project BuilderThe project-specific configuration and the automatic generation of the project documentation takes place in the Project Builder on the basis of the configurators and sets of rules defined in the Designer. then has the possibility to flexibly extend the functional scope of your product.

Additional, internal variables are available in the formulas for controlling the behavior of the instances. Use these variables to specifically define rules for the behavior of single instances (see example).

Internal variables Type Meaning
_index_ Integer Contains the index of the current instance. The value of the variable for the first instance is 1, for the second instance 2, etc.
_count_ Integer Contains the number of all instances. If three instances are generated in the Project Builder, the value of the variable is 3.
_first_ Boolean Contains the value 'true' for the first instance. Contains the value 'false' for all other instances.
_last_ Boolean Contains the value 'true' for the last instance. Contains the value 'false' for all other instances.
_even_ Boolean Contains the value 'true' for all instances with an even index. Contains the value 'false' for all other instances.
_odd_ Boolean Contains the value 'true' for all instances with an odd index. Contains the value 'false' for all other instances.

Preconditions

Procedure

  1. Drag&Drop the element for which you want to allow several instances onto the desired position in the workspace.
  2. Click the element in the workspace.
  3. The view is extended with the structure and variable information that exists in the element.
  1. Activate the Allow instances check box.
  2. Two new buttons appear. The Infinite button is active. The designer in Project Builder can generate any number of instances of the element.
  1. Click the Configure button, if you want to limit the number of instances.
  2. A new input box appears.
  1. In the input box enter the maximum number of instances the designer may generate in the Project Builder.
  2. Use the internal variables to reference the configuration variables of the element.
  3. By using the internal variables you define specific rules for the behavior of single instances (see example).

We would like to learn from you. In order to improve the help system continuously, we are documenting your behavior with Google Analytics (Additional information & opt-out).