🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

renumber nodes by path with tcl

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi everybody,

 

I created a tube and now I would like to renumber the circumferencial nodes in a specific way. (picture attached)

 

To find and select the node where I want to start my renumbering I can take the 'hm_getclosestnode' command.

This will work pretty good, but I don't know the command which I have to use to select the other circumferencial nodes ...

 

Should be something like this:

1. automatically select node on position 1

1.2. renumber it starting with ID=1

1.3 automatically select the next node (on position 2) and renumber it with ID=2 (and so one with increment 1)

2. after first loop automatically select node on position 201 and renumber the node with 201 and so on with inc. 1

...

 

thanks in advance

0815

 

<?xml version="1.0" encoding="UTF-8"?>Q.PNG

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Don't do that.

    Your mesh is very regular, if you create the mesh by 'ruled' panel, i think node numbering will follow your expection

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    ok, thanks @tinh for your support, I'll try by using the 'by ruled' mesh creation.

     

    regards

    0815