real_to string(..)

Variables of the type String can be controlled in a variable table via a formula. To insert a string variable in a comment, for example, proceed as follows:

Create the number Variablesl, b and h for the length, width and height of a cuboid..

Then, create the String Variable Comment .

Enter the formula for the new variable using the Edit formula function from the context menu.

For example, enter the formula real_to_string(l) + 'x' + real_to_string(b) + 'x' + real_to_string(h).

The evaluation is then displayed for the part variables.

Comments or the Designation of parts can now be parameterized in the Feature.

 

Please note:

All formulas that are not used for a numerical value can only be entered using the Edit formula function in the context menu. This also applies to string variables. A direct input when creating the string variables with the Value option is not evaluated.

Feature Parameter Formulas