SetVariableValue
Sets the value of the specified variable.
- Syntax
 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.- Version History
 - 2022.1
 
Example
%Load Pulse API
mypath = getenv('ALTAIR_PULSE_API')
pulsepath = [mypath '/oml']
addpath(pulsepath)
SetVariableValue('vel', 8.0, 'Study');