poIPost CopyResult

Copies a result definition from another definition.

Syntax

post_handle CopyResult id context

Application

HyperView Tcl Modify

Description

This command, valid only in Upfront Data Loading Mode, copies a result definition from another definition. It also returns the ID of the created result definition.

Inputs

id
The result definition label ID to copy from.
context
A string indicating the context of the result to copy (scalar, tensor, vector, iso).

Example

To copy the vector result 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 CopyResult 5 vector
hwi CloseStack

Errors

Returns 0 if there was an error copying the result and sets an 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.