*detachelements

Detaches elements as a unit from the attached structure, using the specified offset value.

Syntax

*detachelements mark_id offset

Type

HyperMesh Tcl Modify Command

Description

Detaches elements as a unit from the attached structure, using the specified offset value.

Inputs

mark_id
The ID of the mark of elements to detach. Valid values are 1 and 2.
offset
The distance by which the elements should be offset from the attached structure.

Example

To detach elements 10 and one layer of adjacent elements from the remainder of the structure:
*createmark elems 1 10
*appendmark elems 1 adjacent
*detachelements 1 0

Errors

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