*segregateByPatches
Creates components using the patches/clusters of connected shell elements.
Syntax
*segregateByPatches entity_type mark_id component_name
Type
HyperMesh Tcl Modify Command
Description
This command is used to find connected patches of elements and create separate components for the elements in each connected patch. The number of new components created will be equal to number of clusters of element patches.
For example, for element patches {1 2 3 4} {5 6 7 8 9} {10 11} there will be 3 new components created.
Inputs
- entity_type
- Must be set to elems.
- mark_id
- ID of the mark containing the input shell elements. Valid values are 1 and 2.
- component_name
- The maximum angle of the curved edge to the straight edge.
Example
To create new components from element patches in component ToSegregate:
*createmark elems 1 "by comp" ToSegregate
*segregateByPatches elems 1 ToSegregate
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.110