Clear highlighted surfaces

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

I am selecting 3 nodes somewhere in my model in order to define a plane using the

*createmarkpanel nodes 1 'Select 3 nodes!'

command. In the process of the selection I am using the plane/line/edge highlight feature provided by HyperMesh(I keep pressing the LMB until it turns to a rectangle and then select a geometric feature). The problem is that the highlighted surfaces stay highlighted even after I've pressed the 'proceed' button.

Is there any way to undo the selection?

Regards, Stefan

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2011

    Thanks for the info.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2011

    There might be a better way which I am not aware of, but you could simple do a 'dummy selection' afterwards, e.g.

    *createmark lines 1 displayed

    *clearmark lines 1

    Regards

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2011

    There might be a better way which I am not aware of, but you could simple do a 'dummy selection' afterwards, e.g.

    *createmark lines 1 displayed

    *clearmark lines 1

    Regards

    Thank you, but unfortunately it's not working. The surfs aren't temporarly highlighted anymore but as soon as you enter a panel and go back the surfaces are plain white again.

    I more or less accidentally worked around the problem by calling a commandfile in my TCL script. *trim_by_offset_edges did not work when I called it in my script (it worked if i executed the command in the command window) but it did, executing a cmd file. After that command all highlighted surfaces are not highlighted anymore :-)

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2011

    how about ...

    hm_createmark lines 1 'advanced' 'displayed';

    set lineList [hm_getmark lines 1];

    puts $lineList;

    *clearmark lines 1;

    this code will select the displayed lines and store the id in a tcl list.

    There might be a better way which I am not aware of, but you could simple do a 'dummy selection' afterwards, e.g.

    *createmark lines 1 displayed

    *clearmark lines 1

    Regards

    Thank you, but unfortunately it's not working. The surfs aren't temporarly highlighted anymore but as soon as you enter a panel and go back the surfaces are plain white again.

    I more or less accidentally worked around the problem by calling a commandfile in my TCL script. *trim_by_offset_edges did not work when I called it in my script (it worked if i executed the command in the command window) but it did, executing a cmd file. After that command all highlighted surfaces are not highlighted anymore :-)