poITensorDefine SetLayer
Sets the layer of the result definition.
Syntax
poITensorDefine_handle SetLayer layer
Application
HyperView Tcl Modify
Description
Inputs
- layer
- The result definition layer.
Example
To set the layer of a tensor result definition to Upper:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle tdefine 3 tensor
tdefine SetLayer Upper
hwi CloseStack
Errors
Returns an error code if there was an error setting the layer and sets error condition on the session handle. See session_handle GetError.
Related Topics
See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.