poIScalarDefine SetLayer

Sets the layer of the result definition.

Syntax

poIScalarDefine_handle SetLayer layer

Application

HyperView Tcl Modify

Description

This command, valid only in HyperView - MultiCore profile, sets the layer of the result definition. Returns Success (0) or an error code.
Note: The result definition can only be modified if it is not cached.

Inputs

layer
The result definition layer.

Example

To set the layer of a scalar result definition to Min:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetLayer Min
hwi CloseStack

Errors

None.

Related Topics

See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.