Saving the nodes of a component into a nodelist

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

Hey guys,

 

as the title already says I'm looking for a macro which saves the nodes of a whole component into a nodelist automatically.

In the end the command *plotnodelist is used and needs a nodelist to execute the program.

Do you have any ideas how this could work?

 

Kind regards and thanks in advance,

Simon

Answers

  • tinh
    tinh Altair Community Member
    edited November 2018

    Maybe,

    *createmark nodes 1 'by comp name' CompName

     

    there is a * command to convert node mark to node list but I don't remember, try searching in reference help

    or try 

    *createlist nodes 1 {*}[hm_getmark nodes 1]

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Thank you Tinh, we fixed the problem!