poIPost GetResultHandle

Gets a handle to the specified result definition.

Syntax

post_handle GetResultHandle handle id context

Application

HyperView Tcl Query

Description

This command, valid only in HyperView - MultiCore profile, returns a handle to the specified result definition. Returns Success (0) or an error code.

Inputs

handle
The handle of the result definition. The returned handle is either a poIScalarDefine, poIVectorDefine, or poITensorDefine depending on the context specified.
id
The ID of the result for which the handle is needed.
context
A string indicating the context of the result for which the handle is needed (scalar, tensor, vector, iso).

Example

To get the handle for a scalar result definition with ID 5:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle res 5 scalar
hwi CloseStack

Errors

Returns error code and sets an error condition on the session handle. See session_handle GetError.

Related Topics

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