Jump to content

Recommended Posts

Hi Vikas,

 

This is the sequence you should follow,

 

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]

model_handle GetResultCtrlHandle result_handle

result_handle GetScaleCtrlHandle poIScaleCtrl_handle

poIScaleCtrl_handle SetAnimationSource Displacement

poIScaleCtrl_handle SetInterpolationScaleMode model_percent

poIScaleCtrl_handle SetScale "5.0"

hwi CloseStack

 

Refer to https://altairhyperworks.com/hwhelp/Altair/2017/help/hwdref/hwdref.htm?poiscalectrl_class.htm for different parameters,

 

Regards,

Livil Lyle

Share this post


Link to post
Share on other sites

Dear Livil,

Thanks for your support actually i was using

 

Quote

"poIScaleCtrl_handle SetInterpolationScale model_precent" at the place of "model_percent poIScaleCtrl_handle SetInterpolationScaleMode model_percent"

 

as mentioned in syntax from help menu. So it was giving error.

Err.PNG.4da09338d7a84c19ddffcba8f88efa0c.PNG

 

SetInterpolationScale – Sets the scale mode.

 

SYNTAX

poIScaleCtrl_handle SetInterpolationScale mode

 

TYPE

HyperView Tcl Modify

 

DESCRIPTION

This command sets the scale mode.

mode

The scale mode.  Options include:  scale, model_units, and model_percent.

 

ERRORS

Returns 0 if successful, otherwise an error code.

 

 

I am very new in this field so i was not understanding the problem. Thanks alot .

 

Thanks,

Vikas Kumar

 

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.

Guest
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...