hyperview namespace commands

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

 

I often saw some hypervie scripts   used namespace commands.

for an example, ::post::getT .

But I can't find this content in the hyperview reference guide.

where can I find the content  of  hyperview  namespace commands ?

 

Thank you

 

Answers

  • tinh
    tinh Altair Community Member
    edited November 2015

    Hi

    Where did you see them?

    if you did not find them in reference guide, then perhaps the commands are for app gui, not for user

    for example some menus, toolbars will invoke the commands in certain context

    In several case you can dump to see inside these (if they are not compiled)

    But should not use directly (same as api functions), almost tasks can be done with hw classes

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2015

    Hi

    Where did you see them?

    if you did not find them in reference guide, then perhaps the commands are for app gui, not for user

    for example some menus, toolbars will invoke the commands in certain context

    In several case you can dump to see inside these (if they are not compiled)

    But should not use directly (same as api functions), almost tasks can be done with hw classes

    thank you for your reply.

     

    the script directly gets model handle by a namespace command, not via  hwi -> session -> project -> page -> post -> model.

    using namespaces, may make the script easier simpler