setSclVar()

Set the current scalar variable to variable information (scalar variable name or ID).

Usage

vis.setSclrVar( varInfo )

Parameters

varInfo (integer) or (string)
Variable ID or variable name.

Return Value

None

Errors

varInfo should be valid.

Description

This routine sets the current scalar variable to varInfo. The varInfo could be the name or ID of the scalar variable. For example,
vis.setSclrVar( "pressure" )