poILegend GetCategoryLayerList
Gets the contributing category layer name list for a Max/Min/Extreme layer contour.
Syntax
legend_handle GetCategoryLegendList
Application
HyperView Tcl Query
Description
This command retrieves the contributing category layer name list for a Max/Min/Extreme layer contour. This layer list will assist in identifying the contributing layers, if the legend displays the layer groups.
Inputs
Context
Example
To get the contributing layer names for a
contour:
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
# Gets the contributing category layer list
set layer_list [legend_handle GetCategoryLayerList]
hwi CloseStack
Errors
Returns an error if the legend handle is invalid and if the legend is of a numeric type.