The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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 .
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…