Text parameter / BOM index |
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.
BOM index:
This command allows you to define the bill of material index for the part or assembly. For example, this allows you to retrieve this index in the document name using the [$BOMIndex] property.
Creation Stages / Use:
Select Construction > Parameters > Text Parameter... to create a text parameter or Construction > Parameters > BOM Index... to define a BOM index.
Enter the name of the parameter.
Enter a description if needed.
Enter the value.
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. |
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") |
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.
Edit: Modifies the text of the parameter.
Empty: Deletes the text of the parameter. The parameter is not deleted.
Delete: Allows you to delete the parameter.
Rename: Allows you to rename the parameter.