GetVariableValue
Returns the value of the specified variable.
- Syntax
GetVariableValue (variableName)
- Type
- Pulse Python API command.
- Description
- Returns the value of the specified variable.
- Inputs
variableName
: The name of the queried variable.- Version History
- 2022.1
Example
--Load Pulse API
apidir = os.getenv(“ALTAIR_PULSE_API”)
mymodulepath = apidir..”/lua”
package.path = package.path..mymodulepath
package.path = package.path.."\\?.lua"
local pulse = require "pulse"
pulse.GetVariableValue("mass")