A program to recognize and reward our most engaged community members
Dear sir,
I wanted to set deformation values as marked in image by using TCL\Tk please help me as soon as possible.
Vikas Kumar
8509012124
vikaskkuma141@gmail.com
and after all setting value how to apply all settings.Please help me as soon as possible.
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
Dear Livil,
Thanks for your support actually i was using
'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.
SetInterpolationScale – Sets the scale mode.
poIScaleCtrl_handle SetInterpolationScale mode
HyperView Tcl Modify
This command sets the scale mode.
mode
The scale mode. Options include: scale, model_units, and model_percent.
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,
Hi vikas,
Try,
poIScaleCtrl_handle SetScale '5 5 5'
Thanks for your support it's working. Thanks lot .