How to change T-connections and free edges in gui by using tcl or HM macros?

Sridhar Bagathi_22035
Sridhar Bagathi_22035 Altair Community Member
edited June 2021 in Community Q&A

I want to capture pic while conducting both... I tried script but it is not changing... Can some body help me

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2021

    can you detail better (with some pictures) what are you trying to accomplish here?

  • Sridhar Bagathi_22035
    Sridhar Bagathi_22035 Altair Community Member
    edited June 2021
    Hello, Thanks for reply. Actually I am running a macro which will extract free edges automatically and takes picture od complete hypermesh window. It is capturing image but The gui for edges is not showing. In backend macro running. I want picture along with edges window activation... Tool - > edges... This should highlight while taking pictures......
  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2021

    Hello, Thanks for reply. Actually I am running a macro which will extract free edges automatically and takes picture od complete hypermesh window. It is capturing image but The gui for edges is not showing. In backend macro running. I want picture along with edges window activation... Tool - > edges... This should highlight while taking pictures......

    i believe the screenshot goes only with the contents of the graphical area.

    can you take a screenshot (manually) of what you want in the end? not sure if I got it. do you waant the panel also?

  • Sridhar Bagathi_22035
    Sridhar Bagathi_22035 Altair Community Member
    edited June 2021

    i believe the screenshot goes only with the contents of the graphical area.

    can you take a screenshot (manually) of what you want in the end? not sure if I got it. do you waant the panel also?

    Exactly right... I want panel mainly.. Graphical area I am OK but panel mainly I need it with. Panel should change as per macro....
  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2021

    Exactly right... I want panel mainly.. Graphical area I am OK but panel mainly I need it with. Panel should change as per macro....

    You could get the whole area (might be too much), using the HDW command: CaptureDesktop

     

    hwi OpenStack

    hwi GetSessionHandle sess

    sess CaptureDesktop png C:/temp mypicture.png

    hwi CloseStack

     

     

  • Sridhar Bagathi_22035
    Sridhar Bagathi_22035 Altair Community Member
    edited June 2021
    Thank you very much for valuable help. One more query..... When I read macro pushpanel items are not showing as active in hypermesh window while capturing pic... Means I am trying to capture free edge picture along with Tool->edges window active in panel and in desktop... So that we can show clearly we are in edge panel....

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.