select nodes through tcl between perticular range

nitin_p
nitin_p New Altair Community Member
edited October 2020 in Community Q&A

Hello,

I am looking for tcl command to get node numbers in particular range. In my model i want to get node number ranging from 1 to 1000.

The node numbers are not continuous like from node 1 to 1000 you will get only 50 nodes.

To get nodes number i tried 'hm_createmark nodes 1 'by value range' 1000' and 'hm_createmark nodes 1 'by ID' 1-1000' but through both command i dont get expected results. So can anybody suggest me what to do in such case?

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited July 2020

    Try

    *createmark nodes 1   1-1000