*solid_cavity_detect_modify_rims

Modify a partially detected cavity by adding and removing rims.

Syntax

*solid_cavity_detect_modify_rims add_mark_id remove_mark_id region_id add_surfs_flag

Type

HyperMesh Tcl Modify

Description

Modify a partially detected cavity by adding and removing rims.

The command *solid_cavity_detect_start must be called before calling this command to generate the cavities as region entities.

Inputs

add_mark_id
The ID of the mark containing edges to add as rims. Valid values are 1 and 2.
remove_mark_id
The ID of the mark containing existing edges to remove as rims. Valid values are 1 and 2.
region_id
The ID of the region containing the cavity definition to modify.
add_surfs_flag
1 - The extracted surfaces are added to the cavity.
0 - The extracted surfaces are removed from the cavity.

Examples

Add a rim represented by a connected set of surface edges with IDs 3 and 4 with a cavity represented by region ID 10,and remove the rim represented by surface edge IDs 7 and 8. Add the surfaces, as the volume of cavity increases due to this modification:

*createmark lines 1 3 4
*createmark lines 2 7 8
*solid_cavity_detect_modify_rims 1 2 10 1

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

2019