hm_ce_findduplicates

Returns a list of connectors that are considered to be duplicates of other connectors, within a given tolerance.

Syntax

hm_ce_findduplicates tolerance mark_id location_type

Type

HyperMesh Tcl Query

Description

Returns a list of connectors that are considered to be duplicates of other connectors, within a given tolerance.

Inputs

tolerance
The maximum distance between connectors to be considered as duplicate.
mark_id
The ID of the mark containing the connectors to consider. Valid values are 1 and 2.
location_type
The connector location type. Currently only supported for "point".

Example

To get all duplicate connectors within a tolerance of 0.05:

*createmark connectors 1 all
hm_ce_findduplicates 0.05 1 point

Errors

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