hm_getint, hm_getfloat & hm_getstring equivalent commands for HYPERVIEW

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

Hello, Good Morning everyone

I want to use the equivalent of following command in my hyoerview script. I tried using as it is but it is giving error.

 hm_getint, hm_getfloat & hm_getstring

 

I just want input from user, rights now runing with gets command and requesting from command prompt. I want to make it more user friendly.

 

Thank you

Answers

  • tinh
    tinh Altair Community Member
    edited August 2017

    Hi

    You can use ::hwtk::inputdialog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hello tinh,

    I checked help documents, didnt find much on ::hwtk::inputdialog

     

    Do you have any help or example file for the same?

     

    Thank you

    Sagar Desai

  • tinh
    tinh Altair Community Member
    edited September 2017

    Start>all programs>altair hypwerworks>tools>HWTK GUI toolkit

    Example codes are there

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2017

    I looked into it but, It is helpful 

     

    but I am not able to find help for particular ::hwtk::inputdialog this command.

    For my future reference can you provide me with help for ::hwtk:: these commands?

     

    I want help for ::hw::post::custom::GetNodalContourValue this command also and related commands.

     

    Thank you

     

  • tinh
    tinh Altair Community Member
    edited September 2017

    Switch to 'code' tab, I think you can understand its sample code. It's very easy. If you still don't know any argument in that code then ask me for help.

    I don't know getnodecontour command. Hv uses Itk classes to access data structure so you should start by learning it classes which will invoke getnodecontour cmd