nodes

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

How does hyper mesh define it's node ids? also, is there a way to define the nodes by coordinates?

 

I need to reference the node # in the script i'm writing and would like to be able to determine the node ID without having to look it up.

Tagged:

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited February 2017

    you can create nodes by coordinate(F8 shortcut key).PFA screenshot for same.Also if you want you can renumber node ids.

    <?xml version="1.0" encoding="UTF-8"?>nodes by coordinate.JPG

  • tinh
    tinh Altair Community Member
    edited February 2017

    How does hyper mesh define it's node ids? also, is there a way to define the nodes by coordinates?

     

    I need to reference the node # in the script i'm writing and would like to be able to determine the node ID without having to look it up.

     

    You can get node id by coordinates by:

    set NodeId [hm_getclosestnode $xcoord $ycoord $zcoord]

     

    To determine node id that you've just created:

    set NodeId [hm_latestentityid nodes]

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2017

    The reason i'm asking is i'm trying to create a script that automatically applies a load/constraint to a certain node after hypermesh has meshed the model without having to manually click on the node i want to apply the force/SPC to.