pulIMacroParameter SetVariableName

Sets the macro parameter’s variable name, which is the name by which the parameter is referenced in expressions.

Syntax

pulIMacroParameter SetVariableName varname

Application

Tcl Modify

Description

This command sets the variable name of the macro parameter to varname.

Inputs

varname
The variable name used to reference the parameter in expressions.

Example

hwi GetSessionHandle sess
sess GetClientManagerHandle pm plot
pm GetMacroHandle macro 1
macro GetParameterHandle param 1
param SetVariableName m1_param1

Errors

Returns 3 if there is an invalid parameter handle.

Returns 4 if varname is empty.

Keywords

  • XY Plot
  • Tcl
  • Modify