Add Model file to Hyperview

sandeeppm17
sandeeppm17 Altair Community Member
edited October 2020 in Community Q&A

Hi, 

I am new to Hyperview customization and i am facing issue with adding model file to hyperview.

i am using below code for the same, but its unable to add. i am not getting any error for this.

 

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 'C:\hyper\PLATE_EXAMPLE\PLATE2.bdf'
window_handle AddModel $model_file1
hwi CloseStack

 

Please suggest me better solution for the same,

 

Thanks in Advance, 

sandeep

Tagged:

Answers

  • PrasannaK
    PrasannaK
    Altair Employee
    edited December 2019

    Hi Sandeep,

     

    Here is the code for your reference:

     

    image.png

     

    Thank you