Listing marked elements to respectie collector with tcl

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

Guys,

 

How do I list a set of elements placed in a mark (1) , to respective components they belong to ? I have around 0.2 milion elements elonging to 180+ collectors.

 

Thanks in advance !!!!

 

Regards

 

Ram

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited August 2013

    Hi, Ram

    You can:

    - Loop through each element and get its component by [hm_entityvalue elems $ElemId collector.id 0] , or

    - Loop through each component and get its element by *createmark elems 2 'by comp id' $CompId, then intersect elems in mark 1 with elems in mark 2 (*intersection mark)

     

    with 200K elems, you should loop component

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2013

    Thanks Tinh,

     

    Let me try this.

     

    regards

     

    Ram