macro for selecting component by id in hm

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

hi frnds iam new to all these macros....right now iam trying to write macro for renumbering components in hm...so for that i want to know the command for selecting component by id.....

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2012

    Hi,

    try

    *createmark comps 1 7

    It puts component 7 in usermark 1

    *renumbersolverid components 1 100 1 0 0 0 0 0

    Renumber soverid for components in usermark 1 with startid 100, increment 1

    Regards

    Mario