*splitSurfaceRegions
Splits regions based on the connectivity of the contained surfaces.
Syntax
*splitSurfaceRegions mark=<value> split_mode=<value>
Type
HyperMesh Tcl Modify Command
Description
Splits regions based on the connectivity of the contained surfaces.
The surfaces contained in the input regions are grouped, the original regions are split based on the groupings, new regions are created for each group, and the original regions are deleted.
Inputs
- mark=<value>
- The ID of the mark of input regions. Valid values are 1 and 2.
- split_mode=<value>
- ByAttached - Group the surfaces by attached
Examples
To split all regions of surfaces by attached:
*createmark regions 1 all
*splitSurfaceRegions mark=1 split_mode=ByAttached
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
2021