Hypermesh node coordinates

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

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

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2008

    *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'

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2009

    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 ...