macro to delete elements by min length

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

hi guys,
 

please help me out with 'macro to delete elements by min length'

Tagged:

Answers

  • Imoto
    Imoto
    Altair Employee
    edited June 2018

    You can use hm_getelemcheckelems command.

     

    Example:
    hm_createmark elems 1 'by config' 104;
    set fail [hm_getelemcheckelems 1 2 length below 1.0];
    hm_createmark elems 1 $fail;
    *deletemark elems 1;

     

    Thanks,
    Imoto