poIPost AddModelToResultOverlay

Adds the model to participate in Result overlay (multi-model plot).

Syntax

poIPost_handle AddModelToResultOverlay hwID

Application

HyperView Tcl Modify

Description

This command adds the model from participate in result overlay. For these models, the plot will be shown when contour, tensor, vector or iso is applied.

Inputs

hwID
The ID of the model to be added in result overlay.

Example

To add a model to 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
# Add the results and create the contour/vector/tensor/iso for one of the model
hwi CloseStack

Errors

Returns an error if the post handle is not valid.