Find nodes associated to elements

Girish2121
Girish2121 Altair Community Member
edited December 2023 in Community Q&A

Hello,

 

Is there any command to find associated nodes of an element using TCL command .

 

Thanks 

Girish 

Answers

  • tinh
    tinh Altair Community Member
    edited March 2018

    Hi

    it's simple:

    *createmark nodes 1 'by element' $elem_id

    *nodemarkaddtempmark 1

  • Girish2121
    Girish2121 Altair Community Member
    edited March 2018

    Hi Tinh,

     

    Thanks 

     

    Girish

  • Ryan Burrell_21633
    Ryan Burrell_21633
    Altair Employee
    edited December 2023

    Here is another way:

    hm_getvalue elems id=$elem_id dataname=nodes

    Or nodes from multiple elements:

    hm_getvalue elems user_ids=$elem_ids dataname=nodes