Get the current collector/entity Name/Id Hypermesh macro

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

Hello All,

 

I try to obtain the name or ID of the current collector (especially component) during the execution of a macro.

I have looked for a command in the hypermesh help, but i did not find any 'hm_getcurrentcollector' or equivalent

 

Can someone help me?

 

Thank you

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited March 2014

    Hello

    it's hm_info currentcomponent

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2014

    Thank you a lot it's exactly what i want!

     

    regards,

     

    Greg

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2016

    Hello
    Can you help me to create RSPLINE?
    Where can I import RSPLINE_elem.tcl

    Regards