*findfaces

Finds the free faces in a group of elements.

Syntax

*findfaces entity_type mark_id ?componentname=<value>? ?componentprefix=<value>? ?cluster_index=<value>? ?color=<value>?

Type

HyperMesh Tcl Modify Command

Description

Finds the free faces in a group of elements.

Inputs

entity_type
The entity type contained on the mark. The valid types are components and elements.
mark_id
The ID of the mark containing the input entities.
componentname=<value>
The name of the component containing the elements representing the free faces (default “^faces”).
componentprefix=<value>
If given, creates visualizations in new components whose name is derived from the parent component of one of the attached elements. The format is “<prefix>_<original name>_#” where original name is the name of the parent component and # is a numerical suffix that is incremented each time the command is called on the same component.
color=<value>
The color of the component containing the elements representing the free faces .
cluster_index=<value>
If given, groups the faces into clusters of connected groups and only creates shell elements for the n-th cluster. If n is more than the number of clusters, shell elements are created for all clusters.

Example

To check the free faces on all of the elements contained in the component fender:
*createmark components 1 fender
*findfaces components 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

2023 - Added new options componentname, componentprefix, color and cluster_index.