hm_highlightmark

Control the highlighting of a mark of entities.

Syntax

hm_highlightmark entity_type mark_id highlight

Type

HyperMesh Tcl GUI Command

Description

Control the highlighting of a mark of entities.

Inputs

entity_type
The type of entity to control the highlighting for.
mark_id
The ID of the entity mark. Valid values are 1 and 2.
highlight
The state of the highlighting. Valid values are:
  • l, low or lowlight - set to low (gray) highlighting
  • n, norm or normal - set to normal (no) highlighting
  • h, high or highlight - set to high (white) highlighting

Example

To display a mark of elements in a low state:

*createmarkpanel elems 1 "Select the elements"
hm_highlightmark elems 1 "low"

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2023 - Deprecated argument panel_sensitive.