get node id of *createnodesbetweennodes
Altair Forum User
Altair Employee
Hello everyone,
I want to create node in TCL, and then I use the *createnodesbetweennodes command, but I can't get the node id of the node it's created, because the result is store in reject mark, I think, but I can't access this mark.
I think the hypermesh's modify command is used in display. And the query command is used to query info. I don't know if it's correct.
Thank you for you any help so much..
Tagged:
0
Answers
-
Try this TCL code:
# Create one new node between Node 1 & Node 2 *createnodesbetweennodes 1 2 1 *createmarklast nodes 1 set nid [hm_getmark nodes 1] puts 'My new node ID is $nid'
0 -
O.K..It worked...
Thank you so much.../emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />
0