Panel for Constraint Definition

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hey guys,

 

in order to set up a model, I want the user to choose in which degrees of freedom he wants to constrain his model.

Is there a .tcl-command that opens a panel automatically where the user can enter specifications, especially the degrees of freedom, for the constraints?

 

Kind regards,

Simon

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited January 2019

    Degree of free is set mostly with values like 123456, 345, 12. A GUI can be made with checkboxes and values of checked can be directly taken and joined.  

  • Jeffersondhv
    Jeffersondhv Altair Community Member
    edited January 2019

    You can use the following functions to get simple user input:

     

    hm_getfloat

    hm_getint

    hm_getstring