poISubcase GetNumberOfDataComponents

Returns the number of data components for a particular data type.

Syntax

subcase_handle GetNumberOfDataComponents datatype

Application

HyperView Tcl Query

Description

This command returns the number of data components for the data type requested.

Inputs

datatype
The data type for the number of data components which are requested.

Example

hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle

result_handle GetSubcaseHandle subcase_handle 1
set no_dcomp [subcase_handle GetNumberOfDataComponents displacement];
hwi CloseStack

Errors

None.