Does anyone know how to open push panel for hidden lines in Hyperworks X version using tcl ?

Ajay Prabhakaran
Ajay Prabhakaran Altair Community Member
edited March 19 in Community Q&A

Does anyone know how to open push panel for hidden lines in Hyperworks X version using tcl. The api : hm_pushpanel "hidden line" is not working in hyperworks x.

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited March 19

    hi,

     

    the new hyperworks x (new GUI) is retiring panels, and that's why pushpanel won't work.

    I've never used the hidden lines panel, but it looks similar to a section cut?

     

    In the new interfce you might want to work with cross-sections.

    *startnotehistorystate {Created Sectioncut}
    *createentity crosssections config=1 name=Sectioncut color_rgb=#A3A3A3 basenode={4.57763671875e-05 138.64663696289 699.1962890625}
    *setvalue crosssections id=1 normal={0 1 0}
    *setvalue crosssections id=1 cutplaneclipelement=true
    *setvalue crosssections id=1 cutplanegeometrytype=1
    *setvalue crosssections id=1 Radius=179.08421325684
    *setvalue crosssections id=1 cutplanedisplaymode=-1
    *setvalue crosssections id=1 cutplanegridspacex=45.86083984375
    *setvalue crosssections id=1 cutplanegridspacey=45.86083984375
    *endnotehistorystate {Created Sectioncut}
    *setvalue crosssections id=1 cutplaneactivestatus=true
    *rotateabout 1 -13.1940002 133.558105 611.661926
    *viewset 0.993705464 -0.104131559 -0.041304598 0 -0.023939622 0.162800075 -0.986368608 0 0.109436493 0.981148691 0.159282454 0 -72.4097068 -504.009219 649.228735 1 -261.551407 32.5530039 261.551498 244.740274
    *startnotehistorystate {Created Sectioncut1}
    *createentity crosssections config=1 name=Sectioncut1 color_rgb=#A3A3A3 basenode={4.57763671875e-05 138.64663696289 699.1962890625}
    *setvalue crosssections id=2 normal={0 1 0}
    *setvalue crosssections id=2 cutplaneclipelement=true
    *setvalue crosssections id=2 cutplanegeometrytype=1
    *setvalue crosssections id=2 Radius=179.08421325684
    *setvalue crosssections id=2 cutplanedisplaymode=-1
    *setvalue crosssections id=2 cutplanegridspacex=45.86083984375
    *setvalue crosssections id=2 cutplanegridspacey=45.86083984375
    *endnotehistorystate {Created Sectioncut1}
    *setvalue crosssections id=2 cutplaneactivestatus=true
    *setvalue crosssections id=2 normal={1 0 0}
    *rotateabout 1 -88.475502 142.122894 617.812622
    *viewset 0.737961218 0.242378389 -0.629814225 0 -0.601635624 0.659053001 -0.451313326 0 0.305692358 0.711970406 0.632179028 0 -134.18233 -377.578738 228.954973 1 -261.551407 32.5530039 261.551498 244.740274
    *setvalue crosssections id=1 cutplanemanipoptions=1
    *setvalue crosssections id=2 cutplanemanipoptions=1