poIPost GetDataComponentList

Gets a list of all data components for all the models loaded.

Syntax

post_handle GetDataComponentList datatype

Application

HyperView Tcl Query

Description

This command returns a list of all data components for all the models loaded if the data components for the specified data type for all loaded models.

Inputs

datatype
The label of the data type.

Example

To get the data component list for data type Displacement:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetDataComponentList Displacement
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.