🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Add Model file to Hyperview

User: "sandeeppm17"
Altair Community Member
Updated by sandeeppm17

Hi, 

 

I am new to Hyperview Customization, i want to add model file to hyperview and used below code,

 

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'
client_handle AddModel $model_file1
hwi CloseStack

 

with this code i am unable to add Model file,

please suggest me better solution for this

 

Thanks in Advance,

sandeep

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi 

     

    You have to set file path using {} 

    set model_file1 {C:\hyper\PLATE_EXAMPLE\PLATE2.bdf}

    or

    set model_file1 'C:/hyper/PLATE_EXAMPLE/PLATE2.bdf'