How to get node id by mouse click

Meng yu
Meng yu Altair Community Member
edited September 2023 in Community Q&A

I want to implement: Return the node id when a mouse click is made near a node in the model.

I has been realized by use:

*createmarkpanel nodes 1 set id_list [hm_getmark nodes 1] 

But calling *createmarkpanel will bring up the panel for selecting nodes, and I have to click on process button, which is a tedious step.

Any help is appreciated!

Tagged:

Answers

  • AltairLiz
    AltairLiz
    Altair Employee
    edited September 2023

    What Altair product are you using?  It will help to direct your question to the appropriate forum.

  • Meng yu
    Meng yu Altair Community Member
    edited September 2023

    What Altair product are you using?  It will help to direct your question to the appropriate forum.

    HyperMesh 2022.

    Best Wishes.