By a simple Drag and drop one deposits the icon ''Conditional'' with the site desired in the column ''Properties“. Or '' Double to click” on the icon ''Conditional''.


  


The defined property as such makes it possible to use the conditions in the properties.

Entered by the line of orders is done in the field ''Conditional''. Syntax ''IFF'' can be used in capital letters or in small letters ''iff''. The character ''|“is obtained by the combination of the keys “Alt Gr” and '' 6”. To recover a property to place the character ''$'' in front of the name of the property (case sensitive).

 The '' typeConditional'' must be located in the column ''Properties'' after the/or the properties which it recovers.


Examples:

The property ''Completion'' created is to be informed with following syntax:

IFF ($Matiere=Acier|Polishing|Painting)

If the property ''Material“is equal to '' Acier” then the property ''Completion'' will be equal to ''Polishing'' if not the property ''Completion'' will be equal to ''Painting''.


The property ''Material type'' created is to be informed with following syntax:

IFF ($Matiere=Acier|$SiAcier|$Autre)

If the property ''Material“is equal to '' Acier” then the property ''Material type'' will be equal to the property ''SiAcier'' if not the property ''Material type'' will be equal to the property ''Other''.



You also have the possibility of imbricating several conditions after from/to each other. There is no limit!


IFF ($Matiere=Acier|IFF(allied $Matiere=Acier|$TypeAcier|$Autre))

Syntax above is not correct because the IFF must be always located in the value IF NOT.


Good syntax is:

IFF ($Matiere=Acier|$SiAcier|IFF (allied $Matiere=Acier|$TypeAcier|$Autre))

- If the property ''Material'' is equal to ''Steel'' then the property ''TypeMatiere'' recovers the value of the property ''SiAcier''.

If not

- If the property ''Material'' is equal to ''Steel alloy'' then the property ''TypeMatiere'' recovers the value of the property ''TypeAcier''.

If not

- The property ''TypeMatiere'' Récupère the value of the property ''Other''.


Concerning the equal conditions, you can use following syntaxes:

“=” (equalizes) for values texts or digital.

“<>” (different from) for values texts or digital.

“>”, “>=”, “<”, “< =” for numéric value.


It is also possible to use the concatenation, by using the character ''&'', in the instructions ''IFF''.

The values of fraction are recognized in the instructions ''IFF''.

Example - According to the value of the property ''Scale'', the property ''Format'' answers the following condition:

IFF ($Echelle=1/2|$Format=A4|A3) the value ''1/2'' returns ''0.5''. If the value of the property ''Scale'' is equal to ''0.5'' then the property ''Format'' will take the value ''A4'' if not it will take the value ''A3''.


Possibility of using the character joker ''*'' in the conditional operations:

*Acier to take into account the values ending in the characters Steel.

Acier* to take into account the values starting with the characters Steel.

*Acier* to take into account the values containing the characters Steel.