powered by CADENAS

Manual

Manual

8.5.2.6.2. Define designation - example

Status Value range variablehas been allocated to a variable Cut in Variable Manager.

  1. In the Value ranges window click on the respective Variable.

  2. Set status Naming(of values) in the Typefield.

  3. Define the expression for the designation in the Range / Namingfield.

In order to display the naming variable column, go into the PARTeditor Test mode .

The designation 0,’off’, 1,’on’, is intended to allow switching between two Display mode later in PARTdataManager.

--> The component is displayed "without cut", in the case of out and "with cut" in the case of in.

Settings in PARTdesigner

However, in PARTdesigner, a corresponding Condition must be linked to the cut sketch which generates or omits the cut depending on in and out.

Clicking on the relevant field of the Cutcolumn opens the related Enter value context menu. --> You can choose between the two Display modein this menu.

If you choose out, the component is shown "without cut".

If you choose in, the component is shown "with cut" accordingly.

[Note] Note

In the case of the Naming, two expression elements - separated by comma – are allocated.

In the first example at the bottom, 1 and case form a pair.

Normal case as a text must be shown in inverted commas!

The first element of such an allocation pair is used for the internal calculation, thus, 1 in the example.

Expression

Explanation

Example 1:

1,'out',2,'in'

(see illustration above)

1 is assigned to out and 2 is assigned to in. Since these values are numbers, data type Numbermust be set for these variables in the Variable Manager .

Example 2:

'KO','without cap','K','tapered cap,'L','lenticular cap'

KO is assigned to without cap, K is assigned to tapered cap and L is assigned to lenticular cap. Since these values are Text, data type Textmust be set for these variables in Variable Manager. Text values are always specified between two apostrophes ( ‘Text‘).