*solid_cavity_detect_fill

Creates solids from detected cavities and optionally merges the created solids with the parent.

Syntax

*solid_cavity_detect_fill mark_id merge_flag

Type

HyperMesh Tcl Modify Command

Description

Creates solids from detected cavities and optionally merges the created solids with the parent.

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 region entities with the cavities to fill. Valid values are 1 and 2.
merge_flag
1 - Merge new solids with parent.
0 - Do not merge new solids with parent.

Examples

Create a solid representing the cavity attached to a region 10:

*createmark regions 1 10
*solid_cavity_detect_fill 1 0

Merge all identified cavities with the parent body:

*createmark regions 1 all
*solid_cavity_detect_fill 1 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