Text parameter

 

 

 

This command allows you to create a text parameter. For example, this parameter can be used in a title block or in a part description. For a spacer coming from a family with a length h (h is a real parameter), the text parameter could be:

abc = Spacer [$CODE] x [h]

In the description field, you just have to enter abc. In this case, when including this spacer in an assembly, the selected code will replace the [$CODE] and the spacer length will replace [h]. The spacer description will be correct and will change if the spacer is modified.

 

Creation Stages / Use:

 

Click the icon or select Construction > Parameters > Text Parameter... command from the drop-down menu.

 

  1. Enter the name of the parameter.

  2. Enter a description if needed.

  3. Enter the text.

  4. Validate.

 

 

This text can be an expression. It is possible to add several text parameters, to retrieve n first or last characters, to retrieve the number of characters of a text, to retrieve the value of a real or an integer parameter, .... Click this link to know different usable expressions.

 

 

 

  • It is possible to create a text parameter with condition which takes the material designation. For that, a parameterized text must be created with value : material designation and after a second text parameter must be created with the expression.

For example : we create a text parameter "Material_text" and we transform it in parameterized text which recover [$MaterialDescription] and after we create a second parameter with value =when(thickness==10;Material_text;"S235")

 

 

 

 

  • It is possible to use in a text parameter, the system name of a material or a coating by using following names:

[$MaterialDescription] : Material description

[$CoatingDescription] : Coating description

[$MaterialName] : Material name

[$CoatingName] : Coating name

[$MaterialPartNumber] : Material part number

[$CoatingPartNumber] : Coating part number

 

  • It is possible to use the text of Enumeration parameter. it is necessary to take the name of Enumeration parameter and add ".Text"

For example, for the parameter Production type, we will write 'Production type'.Text

 

 

Modifications:

 

The modifications are made in the popup menu from the "Parameters" folder in the entities tree.