Extract node coordinate by TCL
Dear All,
I would like to extract the node coordinate of a selected node using tcl.
In the past i was using the following:
*createmarkpanel nodes 1 "select node"
set node1 [ hm_getmark nodes 1 ]
set xnode [ hm_getentityvalue NODES $node1creation "x" 0 ]
set ynode [ hm_getentityvalue NODES $node1creation "y" 0 ]
set znode [ hm_getentityvalue NODES $node1creation "z" 0 ]
with new release the hm_getentityvalue has been changed to hm_getvalue but seems that I can not extract the X, Y, Z coordinate.
I was thinking to change the previous to:
set node1 [ hm_getmark nodes 1 ]
set xnode [ hm_getvalue NODES $node1 "x" 0 ]
set ynode [ hm_getvalue NODES $node1 "y" 0 ]
set znode [ hm_getvalue NODES $node1 "z" 0 ]
but it doens't work.
Can someone help me, please?
Thanks a lot,
FF