Mark multiple Entities

Girish2121
Girish2121 Altair Community Member
edited October 2020 in Community Q&A

Hello all,

 

I am trying to delete multiple surfaces using mark option.

Following is the code snippet :

 

set  SurfsList  {1 2 3 4 5 6 }

*createmark surfaces 1 $SurfsList

*deletemark surfaces 1

 

But only the first entity in the list is getting marked . The other elements are not getting marked.

Are there any work around or alternate options  ?

 

Thanks

Girish

Answers

  • Pandurang
    Pandurang Altair Community Member
    edited May 2019

    set  SurfsList  {1 2 3 4 5 6 }

    eval *createmark surfaces 1 $SurfsList

    *deletemark surfaces 1

     

     

    Try this code

  • Girish2121
    Girish2121 Altair Community Member
    edited May 2019

    Hi Pandurang,

     

    eval , worked perfectly ...

    Thank you !