What's the difference between *clearmark and hm_markclear command?

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

Hello all,

What's the difference between *clearmark and hm_markclear command? It seems that both command are used to clear entities on specified mark. From the help manual.

 

1352314629_.PNG.de60c22c80350d0eef3040afbe1f2a7c.PNG   579583199_2.PNG.da77fc6675c9780fc596feb44419d3dc.PNG

 

hm_markclear command has an optional about 'panel_sensitive'. However, from the manual, I don't think I have understood the meaning of this option and when to use it. Is there any example to explain this?

 

Thank you

Roy

Answers

  • tinh
    tinh Altair Community Member
    edited November 2018

    When you call 2nd panel then that option is used to refer to 1st or 2nd one

    If you don't call panels it's not important

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    When you call 2nd panel then that option is used to refer to 1st or 2nd one

    If you don't call panels it's not important

    Hi @tinh

    What's the meaning of 'call panels'? Could you give me a simple example about it?

     

    Roy

  • tinh
    tinh Altair Community Member
    edited November 2018

    Example you press F2 to enter panel delete, entity is elems, you select some elems

    Neither delete them nor exit the panel, then press shiftF4 to enter panel translate, entity is elems, too

    You select some elems else

    Now you use hm_markclear to clear element mark, you will see effect of option 'panel_sensitive'

    In scripting we rarely call panels (because they are drawn by a timer proc) so the option is unneccessary

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Example you press F2 to enter panel delete, entity is elems, you select some elems

    Neither delete them nor exit the panel, then press shiftF4 to enter panel translate, entity is elems, too

    You select some elems else

    Now you use hm_markclear to clear element mark, you will see effect of option 'panel_sensitive'

    In scripting we rarely call panels (because they are drawn by a timer proc) so the option is unneccessary

     

    Thank you tinh. I think I understand it.