Renumber nodes´ids via tcl script
Hey everyone,
I'm having trouble at writing a tcl script that is able to change node ids in HM.
My question is, if there are functions for:
- get the current node id of a specific node ( by typing in XYZ coordinates )
- change an old node id to a new one by entering the old id/coordinates
I cant find it in the Hypermesh reference guide so it would be great if anyone could help me out.
Answers
-
hi,
to get node by xyz coordinate, use function hm_getclosestnode
or *createmark nodes 1 'by sphere' x y z r
to change node id you can use *renumber or *renumbersolverid
look at detail description of these functions in http://www.altairhyperworks.com/(S(3fu2zyrlbyi03xcofiue25jd))/hwhelp/Altair/hw12.0/help/hwdref/hwdref.htm?hypermesh_reference_guide.htm
0 -
Thank you for the reply.
But is there any possibility to get the current node id of a specific node? (Chosen from xyz)
I dont know what ID to type in, using the renumber function.
0 -
hi
you use hm_getclosestnode
0