Isolate 2D elements using TCL command

Altair Forum User
Altair Forum User
Altair Employee
edited May 20 in Community Q&A

Hello All,

I am using Ansys profile in Hypermesh and want to isolate all the Shell Element (2D Element) using TCL command, can you please let me know how we can isolate only 2D elements using TCL command.

 

Thanks in Advance,

Jagdish

Answers

  • tinh
    tinh Altair Community Member
    edited February 2017

    Hi,

    try this way:
     

     proc Isolate2D {{opt all}} {    *displaynone    *createmark elems 1 $opt    *createmark elems 2 'by config' tria3 quad4    *markintersection elems 1 elems 2    if {[hm_marklength elems 1]} {*findmark elems 1 0 1 elems 0 2}    *clearmark elems 1    *clearmark elems 2 } Isolate2D

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2017

    Thank you Tinh, really appreciate your help.

     

    Regards,

    Jagdish

  • Unknown
    edited May 20

    Thank you Tinh, really appreciate your help.

     

    Regards,

    Jagdish

    For the abaqus profile, same code can be used for isolate 2D?