How to create mark for current component in model?

Michal Kolatowicz_21221
Michal Kolatowicz_21221 Altair Community Member
edited April 3 in Community Q&A

Hi, I wanna make script for isolate view for current model without finding it from "assembly component free". But i cant find some commend which put current component into the mark.

Best Answer

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited April 3 Answer ✓

    this is pretty easy!

     

    set current_comp [hm_info currentcomponent]

    *createmark comps 1 $current_comp

    ....

    ...

    do whatever you need

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited April 3 Answer ✓

    this is pretty easy!

     

    set current_comp [hm_info currentcomponent]

    *createmark comps 1 $current_comp

    ....

    ...

    do whatever you need