*solid_cavity_detect_modify_surfaces

Modify a partially detected cavity by adding and removing surfaces.

Syntax

*solid_cavity_detect_modify_surfaces mark_id region_id add_surfs_flag

Type

HyperMesh Tcl Modify Command

Description

Modify a partially detected cavity by adding and removing surfaces.

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

Inputs

mark_id
The ID of the mark containing the surfaces to add or remove. Valid values are 1 and 2.
region_id
The ID of the region containing the cavity definition to modify.
add_surfs_flag
1 - The input surfaces are added to the cavity.
0 - The input surfaces are removed from the cavity.

Examples

Add surfaces 10 and 23 to a cavity attached to region 5:

*createmark surfaces 1 10 23
*solid_cavity_detect_modify_surfaces 1 5 1

Remove surfaces 10 and 23 to a cavity attached to region 5:

*createmark surfaces 1 10 23
*solid_cavity_detect_modify_surfaces 1 5 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

2019