ELEMENTS BY ADJACENT

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

HeIlo, is there any way to create short cut or tcl file to select elemnts by adjacent by clicking on a single element? Please help me.

Tagged:

Answers

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited February 2018

    Try this code:

     *clearmark elements 1 *createmarkpanel elements 1 'Select element' *appendmark elems 1 'by adjacent' set eList [hm_getmark elems 1] puts 'Adjacent Elems= $eList'

    HTH,

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    thank you, its working,  but where can i learn tcl scripting and python scripting.

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited February 2018

    thank you, its working,  but where can i learn tcl scripting and python scripting.

    Both are Opensource Programming language so there's a lot of learing resource on Internet.