hm_clearmarker

Clears the graphical marker created by hm_plotmarker.

Syntax

hm_clearmarker ?entity_type? ?<select_type>=<selection>? ?dataname=<data name/attribute>?

Type

HyperMesh Tcl GUI Command

Description

Clears the graphical marker created by hm_plotmarker.

To clear specific markers on specific entities: hm_plotmarker entity_type <select_type>=<selection> dataname=<data name/attribute>

To clear all markers on specific entities: hm_plotmarker entity_type <select_type>=<selection>

To clear all markers on a specific entity type: hm_plotmarker entity_type

To clear all markers: hm_plotmarker

Inputs

entity_type
The type of entity to clear markers for. Valid values are nodes, elements, points, lines, surfs and solids.
<select_type>=<selection>
The entity or entities to clear markers for.
id=<id>
The ID of the single entity.
list=<list_id>
The ID of the list containing the entiteis. Valid values are 1 and 2.
mark=<mark_id>
The ID of the mark containing the entities. Valid values are 1 and 2.
dataname=<data name/attribute>
The data name or attribute to clear markers for.

Examples

To clear the ID data name markers for elements 1-100:

*createmark elems 1 1-100
hm_clearmarker elements mark=1 dataname=id

To clear all markers for elements 1-100:

*createmark elems 1 1-100
hm_clearmarker elements mark=1

To clear all markers for all elements:

hm_clearmarker elements

To clear all markers:

hm_clearmarker

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

2019.1