*flanges_detect

Finds and selects flanges from specified geometry.

Syntax

*flanges_detect comp_mark_id max_width min_width flage_mark_id

Type

HyperMesh Tcl Modify

Description

This command detects flanges within a minimum/maximum width range from the surfaces contained in the selected components. The flange surfaces are then placed on a mark.

Inputs

comp_mark_id
The mark of input components. Valid values are 1 and 2..
max_width
The maximum width of the flanges to detect.
min_width
The minimum width of the flanges to detect.
flange_mark_id
The mark of the output surfaces defining the detected flanges. Valid values are 1 and 2.

Example

To find flanges between 5 and 20 for all components in the model, and to place the surfaces on surface mark 2:
*createmark comps 1 all
*flanges_detect 1 5 20 2

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}