*solid_cavity_detect_local

Extracts cavity surfaces based on input rims and a face of that cavity.

Syntax

*solid_cavity_detect_local mark_id face_id fill_flag

Type

HyperMesh Tcl Modify Command

Description

Extracts cavity surfaces based on input rims and a face of that cavity.

This command must be followed by a call to *solid_cavity_detect_end.

Inputs

mark_id
The ID of the mark containing the surface edges defining the rims of the cavity.
face_id
The ID of a surface within the cavity.
fill_flag
0 - Creates a region entity.
1 - Creates a solid from the cavity.

Examples

Extracts the cavity and creates a solid representing that cavity, with IDs of rim edges 1724, 210, 961 and 333, and face ID 73:

*createmark lines 1 1724 210 961 333
*solid_cavity_detect_local 1 73 1
*solid_cavity_detect_end

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