*createmarkpanel
Provides a panel to add entities to a mark.
Syntax
*createmarkpanel entity_type mark_id message ?face_edge_mode? ?filter?
Type
HyperMesh Tcl Modify Command
Description
Provides a panel to add entities to a mark.
Inputs
- entity_type
- The type of entities to add.
- mark_id
- The ID of the mark. Valid values are 1 and 2.
- message
- A string to show in the message bar when entering the panel.
- ?face_edge_mode?
- The default face/edge selection mode to use when entering the panel. This is valid
only for nodes and elements. An invalid value defaults to 0, or is ignored for
non-supported entity types.
- 0 - Standard entity selection
- 1 - 2D faces (elems) or faces (nodes)
- 2 - 2D faces ext (elems and nodes)
- 3 - Free edges (nodes only)
- 4 - Edges (nodes only)
- 5 - Loops (nodes only)
- 6 - Free edges ext (nodes only)
- 7 - Edges ext (nodes only)
- ?filter?
- Defines which selection modes should be allowed. Bit values are used and the value is calculated as (Bit0 + 2*Bit1 + 4*Bit2 + 8*Bit3 + 16*Bit4 + 32*Bit5 + 64*Bit6 + 128*Bit7).
Examples
*createmarkpanel elems 1 "Please select the elements"
hm_getmark elems 1
*createmarkpanel elems 1 "Please select the elements" 1
hm_getmark elems 1
*createmarkpanel elems 1 "Please select the elements" 1 6
hm_getmark elems 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019 - Added new face_edge_mode values 6 and 7.