poIPost GetResultOverlayModelList

Gets the list of model IDs which are participating in Result overlay (multi-model plot).

Syntax

poIPost_handle GetResultOverlayModelList

Application

HyperView Tcl Query

Description

This command returns the model list which are participating in result overlay.

Example

To get the model list which are participating in result overlay or multi-model plot:
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
set model_file1 “” # set the path
set model_file2 “” # set the path
set mid1 [client_handle AddModel $model_file1]
set mid2 [client_handle AddModel $model_file2]
client_handle AddModelToResultOverlay $mid1
client_handle AddModelToResultOverlay $mid2
client_handle RemoveModelFromResultOverlay $mid1
set list [client_handle GetResultOverlayModelList]
hwi CloseStack

Errors

Returns an error if the post handle is not valid.