Add Model file to Hyperview
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
Answers
-
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'
0