hm_clearshape

Clears the graphical shape created by hm_plotshape.

Syntax

hm_clearshape ?entity_type? ?<select_type>=<selection>? ?shape=<shape>?

Type

HyperMesh Tcl GUI Command

Description

Clears the graphical shape created by hm_plotshape.

To clear specific shapes on specific entities: hm_plotshape entity_type <select_type>=<selection> shape=<shape>

To clear all shapes on specific entities: hm_plotshape entity_type <select_type>=<selection>

To clear all shapes on a specific entity type: hm_plotshape entity_type

To clear all shapes: hm_plotshape

Inputs

entity_type
The type of entity to clear shapes for. Valid values are nodes.
<select_type>=<selection>
The entity or entities to clear shapes 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.
shape=<shape>
The shape type to clear. Valid values are box, cone, cylinder, ellipsoid, frustum and sphere.

Examples

To clear the sphere shapes for nodes 1-100:

*createmark nodes 1 1-100
hm_clearshape nodes mark=1 shape=sphere

To clear all shapes for nodes 1-100:

*createmark nodes 1 1-100
hm_clearshape nodes mark=1

To clear all shapes for all nodes:

hm_clearshape nodes

To clear all shapes:

hm_clearshape

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