Display and show geometry and elements. And the way nodes generate 2D elements.

Tony_21982
Tony_21982 Altair Community Member
edited May 2021 in Community Q&A

Hi, everyone

 I got two questions for a long time.    

First one,  is there a simple way like Tcl script or others to carry out this functions that quickly switch the display of all elements and  all geometries. Currently I always firstly come to the "Display" panel, and choose the "elems" or "Geoms", at last click "none" or "all" to realize the targets. These operations reduce the work efficiency  to some kind way. So I hope there could be one short keyboard to  realize the quick switching between elements and geometries. 

Second one, How to generate the 2D elements by nodes are along nodes path (not ruled). Just like 2D elements can generate the 3D solid elements along nodes path. Or the condition that how the nodes from irregular closed quadrilateral boundary can generates 2D elements?

      Anyone who can help me would be very grateful.

 

Thanks a lot.

 

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited May 2021

    Hi Tony,

    for your first question, if you're using HW New interface, it's just 2-click operation.

    Even less, actually, as you can access the display function by hitting 'D' key.

    Then click 'Only' for elements or geometry.

    image

     

    You could create some TCL scripts with these commands below.

     

    Show everything in your model

    *showall 1 0

     

    Hide mesh only

    *createmark components 1 "all"
    *createstringarray 1 "geometry_off"
    *hideentitybymark 1 1 1

     

    Hide Geometry only

    *createmark components 1 "all"
    *createstringarray 1 "elements_off"
    *hideentitybymark 1 1 1

     

    Hide Geometry, leave elements

    *createmark components 1 "all"
    *createstringarray 2 "elements_off" "geometry_on"
    *hideentitybymark 1 1 2

  • Tony_21982
    Tony_21982 Altair Community Member
    edited May 2021

    Hi Tony,

    for your first question, if you're using HW New interface, it's just 2-click operation.

    Even less, actually, as you can access the display function by hitting 'D' key.

    Then click 'Only' for elements or geometry.

    image

     

    You could create some TCL scripts with these commands below.

     

    Show everything in your model

    *showall 1 0

     

    Hide mesh only

    *createmark components 1 "all"
    *createstringarray 1 "geometry_off"
    *hideentitybymark 1 1 1

     

    Hide Geometry only

    *createmark components 1 "all"
    *createstringarray 1 "elements_off"
    *hideentitybymark 1 1 1

     

    Hide Geometry, leave elements

    *createmark components 1 "all"
    *createstringarray 2 "elements_off" "geometry_on"
    *hideentitybymark 1 1 2

    Hello, Koga.

        Thanks very much for your nice answers. That is very helpful. 

         You are great.