poIPost RemoveModelFromResultOverlay
Removes the model from participating in Result overlay (multi-model plot).
Syntax
post_handle RemoveModelFromResultOverlay hwID
Application
HyperView Tcl Modify
Description
This command removes the model from participating in result overlay. For these models, the plot will not be shown when contour, tensor, vector or iso is applied.
Inputs
- hwID
- The ID of the model to be removed from participating in result overlay.
Example
To remove a model from 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
# 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.