🎉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

Set deformed value

User: "Vikas Kumar_22189"
Altair Community Member
Updated by Vikas Kumar_22189

Dear sir,

 

I wanted to set deformation values as marked in image by using TCL\Tk please help me as soon as possible.

 

blob.png.ce0aa11c4e04e507e1aead8ab870c79b.png

 

Vikas Kumar

8509012124

vikaskkuma141@gmail.com

 

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "Vikas Kumar_22189"
    Altair Community Member
    OP
    Updated by Vikas Kumar_22189

    and after all setting value how to apply all settings.Please help me as soon as possible.

    blob.png.764c281d9669fcca62cd2b5172f1bf44.png

    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    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

    User: "Vikas Kumar_22189"
    Altair Community Member
    OP
    Updated by Vikas Kumar_22189

    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.

    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

     

    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi vikas,

    Try,

    poIScaleCtrl_handle SetAnimationSource Displacement

    poIScaleCtrl_handle SetInterpolationScaleMode model_percent

    poIScaleCtrl_handle SetScale '5 5 5'

    User: "Vikas Kumar_22189"
    Altair Community Member
    OP
    Updated by Vikas Kumar_22189

    Dear Livil,

    Thanks for your support it's working. Thanks lot .

     

    Thanks,

    Vikas Kumar