How to output the node numbers of elements in Hypermesh?

LIMING LI_21655
LIMING LI_21655 Altair Community Member
edited March 2021 in Community Q&A

Hi,everyone!

I have a text with the element numbers stored in it.

How do I query and output the node number of each element?

Is there any convenient way?

Thanks in advance.

Answers

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited March 2021

    Here's my code. Hope give you some idea:

    set elems [list 1 2 3] foreach eid $elems { 	set nodes [hm_getvalue elems id=$eid dataname=nodes] 	puts [format "E= %d; Nodes= %s" $eid $nodes] }