How to choose line_id when we want to restore(unsuppress) edges by script?

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

Hi,

Thanks to all of you for your valuable time and efforts putting in helping others.

Things are like that,i have a surfaces with many small lines.I suppress these lines to do some geometric analysis.Then i want to restore(unsuppress) these lines.

But i find when i suppress a line,its line_id will change.So i don't know how to choose precise line_id to unsuppress.

What I can think of is choosing all lines,then do unsuppress operation.However,it will cost extra time and take another troubles in next step.

So how can i store the suppress lines and unsuppress them precisely?

Thank you very much!!!

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited January 2019

    When line id change, use hm_latestentityid to capture it.

  • liangycc
    liangycc Altair Community Member
    edited January 2019

    When line id change, use hm_latestentityid to capture it.

    Thank you very much!