TCL: Select 2d elements less than 5mm and display numbers on screen of those elements

Andy@LamteqSolutions
Andy@LamteqSolutions Altair Community Member
edited October 2020 in Community Q&A

Hi all,

 

I'd like to create a script which selects 2d elements of less than 5mm and then displays the element numbers on screen.

 

Any ideas anyone?

 

Much appreciated

Andy

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited May 2018

    Try

    *createmark elems 1 displayed

    *createmark elems 2

    *elementtestlength elems 1 5.0 2 1 2 1 0 '  2D Length <  '

    *numbers 1

    *numbersmark elems 2 1

  • Andy@LamteqSolutions
    Andy@LamteqSolutions Altair Community Member
    edited May 2018

    Many thanks Tinh, 

     

    That's perfect