Jump to content

scripts for hide/show in hyperview

Recommended Posts



I am new in python scripts and I would like to know if someone knows how to make a script that allows to hide everything that the model and let see for example a certain range of ids. That is ... a code that filters and leaves in sight only a certain range of IDS qe.

thank youu!!

Share this post

Link to post
Share on other sites

Hi Yolanda,


You can do via Tcl script, Click on View and turn on Command Window, run the below code line by line to get an understanding. 

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]
# To Mask All
model_handle MaskAll
client_handle Draw

# To UnMask All
model_handle UnMaskAll
client_handle Draw
hwi CloseStack





tinh likes this

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...