hwISession SetUserVariable

Associates a value to a variable on the session level.

Syntax

hwISession_handle SetUserVariablevariable, value

Application

HyperWorks Tcl Modify

Inputs

variable
The variable name associated with the session level.
value
The value associated with the variable.

Example

hwi GetSessionHandle mySessionName
mySessionName SetUserVariable last_run run_5

Error

Success (0) or an error code.