poIIsoValueCtrl SetDataType

Sets the data type for the iso control.

Syntax

iso_handle SetDataType data_type_name

Application

HyperView Tcl Modify

Description

This command sets the data type to be applied for an iso plot (for example, Stress, Velocity, etc.). If the data type name contains spaces, then the name must be specified inside double quotes (for example, "Effective plastic strain"). The data type name must exist in the list of available data types in the results file in order to display a proper contour plot. You can obtain a list of valid data types from the result control by using the GetDataTypeList command.

Inputs

data_type_name
The name of the data type to be set.

Example

To set the data type in an iso plot to "Effective plastic strain" for a result file containing the following data type list {"Displacement" "Stress" "Effective plastic strain"}:
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 GetIsoValueCtrlHandle iso_handle
iso_handle SetDataType "Effective plastic strain"
hwi CloseStack

Error

This command always returns a success even if the data type name does not exist in the available data type list. In the case of an invalid data type, no iso plot will be displayed.