Altair RISE

A program to recognize and reward our most engaged community members
Nominate Yourself Now!

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