TCL command to select nodes by geometry
Hi, all,
Is there any tcl command to select nodes by geometry? For example, I try select all nodes associated with a line. I try to operate it in hypermesh and then check the command.cmf file. But what I can find is the following command:
*createmark(nodes,1) 38-70 5954-5984
which directly operate by node number. Since in my mode, the mesh changes, so the number number and amount of nodes change. So above command will not give desired result.
Does any one know the tcl command to select nodes by geometry? It seems it can be done easily in hypermesh GUI,so probably there is a corresponding command or function in TCL.
Thanks!
Richard
try ..
hm_createmark nodes 1 'by lines' $lineId
set ndlist [hm_getmark nodes 1]