hm_deleteshape

Delete a shape in the modeling window.

Syntax

hm_deleteshape type index

Type

HyperMesh Tcl GUI

Description

Deletes a shape from the modeling window.

Inputs

type
The type of shape to create. Valid values are BOX, SEGMENT, CYLINDER, SPHERE, POLYHEDRON, and FACET.
index
The index of the shape, as returned from hm_createshape

Examples

To delete box 1:
hm_deleteshape BOX 1

Errors

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