Hi,
can anyone let me know how to display the node x,y,z coordinates on the screen for a particular node or nodes in any HM version.
thanks
*clearlist nodes 1;
*createlistpanel nodes 1 'Select the Node';
set nodelist [hm_getlist nodes 1];
# Loop to get coords info
set nodalcord {}
foreach xxx $nodelist {
for {set yyy 0} { $yyy<=2 } {incr yyy} {
set point1 [::hwat::utils::GetXYZFromNode [lindex $xxx $yyy]];
lappend nodalcord $point1
}
tk_messageBox -message 'Node# : $nodelist\nCoords: $nodalcord'
Have you tried the 'Card Edit' Buttons/ Menu entries?
That gives you a panel where you have to select nodes left and push the edit button -> will display the node id and the coordinates of the node ...
*clearlist nodes 1;
*createlistpanel nodes 1 'Select the Node';
set nodelist [hm_getlist nodes 1];
# Loop to get coords info
set nodalcord {}
foreach xxx $nodelist {
for {set yyy 0} { $yyy<=2 } {incr yyy} {
set point1 [::hwat::utils::GetXYZFromNode [lindex $xxx $yyy]];
lappend nodalcord $point1
}
}
tk_messageBox -message 'Node# : $nodelist\nCoords: $nodalcord'