*detach_solids

Separates solids that have shared boundary surfaces.

Syntax

*detach_solids entity_type mark_id options

Type

HyperMesh Tcl Modify Command

Description

Separates solids that have shared boundary surfaces by duplicating the common surfaces and breaking, when possible, the connectivity between the edges and vertices of shared surfaces.

Inputs

entity_type
Input geometry type. Valid value is solids.
mark_id
The ID of the mark of input solids. Valid values are 1 and 2.
options
Defines the separation method. Valid values are:
  • 0 - Selected solids are separated from those not selected. Shared boundary between selected solids is preserved.
  • 1 - Selected solids are separated from each other. Shared boundary between selected solid and those not selected is preserved.
  • 2 - Each selected solid is separated from all solids it has a shared boundary with.
  • 3 - Same as 0.

Examples

Assume that solids with IDs 1, 2, 3 have shared boundary surfaces between each other.

To separate solids 1 and 2 between each other, but keep solid 3 connected to both solid 1 and solid 2:
*createmark solids 1 1 2
*detach_solids solids 1 1
To separate solids 1 and 2 from solid 3 and keep shared boundary between solids 1 and 2:
*createmark solids 1 1 2
*detach_solids solids 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
}

Version History

12.0.110