poILegend GetMinByModel

Gets the legend minimum for a given model ID.

Syntax

legend_handle GetMinByModelmodelID formatted

Application

HyperView Tcl Query

Description

This command retrieves the minimum legend value for a given model ID.

Inputs

modelID
The model ID for which the legend minimum value is required.
formatted
The formatted output required or not. The default value is true.

Example

To get the legend minimum value for a model:
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 GetContourCtrlHandle contour_handle
contour_handle GetLegendHandle legend_handle
set minValue [legend_handle GetMinByModel 1]
hwi CloseStack

Errors

Returns a float value.