*findholesinit

Initializes the process to find holes in shell and solid meshes.

Syntax

*findholesinit entity_type mark_id type feature_angle flag param

Type

HyperMesh Tcl Modify

Description

Initializes the process to find holes in shell and solid meshes.

The process of finding holes requires the initialization of the process using *findholesinit. This initialization process requires the components or elements utilized by subsequent *findholesshell and *findholessolid commands. To utilize different input components or elements, the *findholesinit command needs to be rerun. After completing the find hole process, the command *findholesend should be called to clear the memory.

Inputs

entity_type
The entity types to find holes in. Valid values are:
  • comps
  • elems
mark_id
The mark ID containing the entities. Valid values are 1 and 2.
type
The entity types to find holes in. Valid values are:
  • 0 - Find holes in both shell and solid meshes.
  • 2 - Find holes only in shell meshes.
  • 3 - Find holes only in solid meshes.
feature_angle
Used to identify each connected sequence of feature edges. Specifically a feature edge is one whose adjoining faces form an angle greater than this value. Acceptable values are [0.0, 180], otherwise closer extreme is used. Generally, this parameter is only used when finding holes on solid elements. It is used for shell elements when finding features – an additional option unrelated to finding holes.
flag
Reserved for future use. Set to 0.
param
Reserved for future use. Set to 0.

Example

To find all open holes in the displayed 3D elements:
*createmark elems 1 displayed
*findholesinit elems 1 2 30 0 0
*findholessolid 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
*findholesend

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

11.0