poIPostManager WaitForResults

Causes the application to wait for all of the results of the given type to load before returning.

Syntax

postmanager_handle WaitForResults type

Application

HyperView Tcl Modify

Description

This command, valid only in Upfront Data Loading Mode, causes the application to wait for all of the results of the given type to load before returning. If type is not specified, then it will wait for all of the types to finish loading before returning. It can be used as a sync point for scripting.

Inputs

type
Optional argument specifying the type of data to wait for. Valid values are: scalar, vector, tensor, simulation, or iso.

Example

To wait for all scalar results to finish loading before returning:

hwi OpenStack
hwi GetSessionHandle sess
sess GetClientManagerHandle mgr animation
mgr WaitForResults scalar
hwi CloseStack

Errors

Returns error code 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.