interpret_set

Allows you to set a variable using Templex.

Syntax

interpret_set(MDL variable, value, set_name)

Input

MDL variable
The MDL variable to be set.
value
The value to be set.
set_name
The name of the set.

Example

Template:
{interpret_set("p_0", "1, 1, 1", "SetPoint"}
Output:
*SetPoint(p_0, 1, 1, 1)

Comments

This statement only applies to the MBD modeling window.