::pulse::SetVariableValue

Sets the value of the specified variable.

Syntax
::pulse::SetVariableValue {variableName variableValue variableType}
Type
Pulse Python API command.
Description
Sets the value of the specified variable. The listed variables must be defined in the process prior to running this command.
Inputs
variableName: The name of the variable.
variableValue: The value to be assigned to the variable.
variableType: The type of the variable.
Example
To set the value of the variable mass of type Study to 5.0:
::pulse::SetVariableValue mass 5.0 Study
Version History
2022.1