7.13.5.7.1.3.  Conditions

In the Rule properties dialog box, you can also define optional conditions for the application of a rule.

7.13.5.7.1.3.1.  Conditions - Use only if applies

Example: The selected part should only be connected if the variable value of the dummy starter part HINGEDUMMY is larger or equal 75.

  1. Activate the Only use when applies [Only use if] option.

  2. In the input field, call up the context menu command Select variable. [Choose variable...].. in the input field.

    -> The Variable Browser is opened.

  3. Specify the part and variable and confirm with OK.

    -> In the input field, "HINGEDUMMY@L" is displayed.

  4. Behind this, manually enter ">=75".

    Result:

7.13.5.7.1.3.2.  Conditions - Only use if

Using a rule depending on the availability of one or several other parts in the assembly

The selected part (here exemplarily "bolt") shall only be added if both "wing 1" and "wing 2" are available.

  1. Activate the Only use if [Only use, if] option.

    -> The Add and Delete buttons are now active.

  2. You can make the fulfillment of the condition dependent on whether all or only one component(s) is (are) inserted.

    Select one of the following options: (Here in this example the first one)

    • all of the following parts were inserted

    • at least one of the parts inserted

  3. Click on Add.

    -> The Tables browser [Table browser] dialog box opens. You can see all parts of the assembly.

    (Delete [Delete] will remove the currently selected component from the list)

  4. Select the ones you want to include in the condition one after the other. (Select and confirm with OK )

    -> The selected ones are now displayed in the Only use if [Only use, if] dialog area.

7.13.5.7.1.3.3.  Conditions - Do not use the following rules if they are used

Excluding rules depending on availability of one and/or more other parts in an assembly:

Bolt2 shall exclude wing2 in the assembly configuration.

Selected part is Bolt2.

  1. Activate the Do not use the following rules if they are used [Do not use the following rules if this one is used] option.

    -> The Add and Delete buttons are now active.

  2. Click on Add.

    -> In the Rule Browser [Rule browser] dialog box, you can see the component overview of the assembly.

  3. To override the rule "fluegel1_fluegel2", which inserts "Flügel 2" into the assembly, you must make the following settings in the rule browser [Rule browser].

  4. Confirm with OK.

    The following now applies: Sash 2 cannot be part of the assembly as soon as bolt 2 is added to the assembly.