hm_linegetorderelems

Get the list of ordered 1D elements associated with input free lines for the given tolerance.

Syntax

hm_linegetorderelems mark_id ?tolerance?

Type

HyperMesh Tcl Query

Description

This command returns a list of lists for the input free edges. The first element of each list is the ID of the free edge and subsequent elements of that list are the IDs of the associated 1D elements.

For example, the output for two orphan edges of IDs 115822 and 115823 with associated 1D elements 8 and 9 is { 115822 8} { 115823 9}

Inputs

mark_id
The ID of the mark of lines. Valid values are 1 and 2.
Only free lines are considered.
tolerance
The tolerance to compare association of 1D elements with respect to a free line. In the absence of this argument, best associated 1D elements will be returned.

Examples

Find elements for all free lines using a tolerance of 0.5:

*createmark lines 1 all
hm_linegetorderelems 1 0.5

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