Run Hyperview on linux from hypermesh command line

Pandurang
Pandurang Altair Community Member
edited October 2020 in Community Q&A

Hi All,

 

I want to open the hyperview on linux from Hypermesh command line

my code:

 

set interactivePath [file join [hm_info -appinfo ALTAIR_HOME] altair scripts hv]

exec '$interactivePath' -clientconfig hwpost.dat

 

is it right?

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited August 2018

    It does not work?

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

    It does not work?

     

    Then How to make it work..

     

    Regards,

    PD

  • tinh
    tinh Altair Community Member
    edited August 2018

    It's wrong.

    should be

    [. cget -menu].applications invoke 1

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

    It's wrong.

    should be

    [. cget -menu].applications invoke 1

     

    want to pass tcl file also...how do i pass it

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

     

    want to pass tcl file also...how do i pass it

     

    https://forum.altairhyperworks.com/index.php?/topic/16182-run-tcl-script-on-hyperview-start/

    used this reference..

     

    @tinhIt works well for window...but i want same things to be done on Linux...

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited August 2018

     

    https://forum.altairhyperworks.com/index.php?/topic/16182-run-tcl-script-on-hyperview-start/

    used this reference..

     

    @tinhIt works well for window...but i want same things to be done on Linux...

     

    Under Linux shell, this command should work as same method as Windows.

     

  • tinh
    tinh Altair Community Member
    edited August 2018

    Yes i think so.

    What is the error, Pandurang?

     

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

    previous: set interactivePath [file join [hm_info -appinfo ALTAIR_HOME] altair scripts hv]

     

    This is working

    New set interactivePath [file join [hm_info -appinfo ALTAIR_HOME] scripts hv]

     

    Only diff of altair:)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

     

     

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

    It's wrong.

    should be

    [. cget -menu].applications invoke 1

     

    Thanks @tinh for above command. 

     

    I explored many things like invoking different commands available on Main Menu Bar, Adding your customised menu in HM.

  • tinh
    tinh Altair Community Member
    edited August 2018

    it's just a wrapped command, if menu entry #1 is not HyperView, the command will not be your expection

    if you want to find direct command, you have to parse its configs by 'entryconfig 1'

     

    or 'invoke HyperView' instead of 'invoke 1'

  • Pandurang
    Pandurang Altair Community Member
    edited August 2018

     

    it's just a wrapped command, if menu entry #1 is not HyperView, the command will not be your expection

    if you want to find direct command, you have to parse its configs by 'entryconfig 1'

     

    or 'invoke HyperView' instead of 'invoke 1'

    Yes you are right

    I forgot to mention about this root command:)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' /> ::  [. cget -menu] or .hmMainMenuBar 

    With this we can walk through Main Menu bar or can add Customised as highlighted...


    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.8eda731d299938e420d8565525e6355a.png