*detach_fromwall
Detaches elements from each other and from the attached structure, using the specified offset value.
Syntax
*detach_fromwall surround_mark_id wall_mark_id offset detach_ends
Type
HyperMesh Tcl Modify
Description
Detaches elements from the nodes of wall elements. The elements surrounding the wall can be classified as belonging to different clusters based on which side of the wall elements they appear. For each cluster of elements attached to the wall, the shared nodes are duplicated after detachment.
The elements surrounding the wall must be one dimension higher than the wall elements.
Use a non-zero offset distance to separate the duplicated nodes from the nodes on wall. If detach_ends is set to 1 then the command will also detach at the boundaries of the wall elements lying on the exterior of attached surrounding elements. Note that whether one sets detach_ends to 0 or not , the wall boundary nodes in the interior of elements attached to wall are not detached.
Inputs
- surround_mark_id
- The mark ID of elements to detach from the wall. Valid values are 1 and 2. These elements must be one dimension higher than the wall elements.
- wall_mark_id
- The mark ID of wall elements to detach from. Valid values are 1 and 2. These elements must be one dimension lower than the surrounding elements.
- offset
- The distance by which the surrounding elements should be offset from the wall.
- detach_ends
- 0 - The surrounding elements are not detached from the wall end, but the interior nodes are still detached.
Example
*createmark elems 1 1-100
*createmark elems 2 1000-1010
*detach_fromwall 1 2 5.0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.120