hm_linegetordernodes

Get the list of ordered nodes associated with input free lines for the given tolerance.

Syntax

hm_linegetordernodes mark_id ?tolerance?

Type

HyperMesh Tcl Query

Description

This command returns a list of lists for all 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 nodes.

For example, the output for two orphan edges of IDs 115822 and 115823 with associated nodes 8,9 and 10,11 is { 115822 8 9} { 115823 10 11}

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 nodes with respect to an orphan line. In the absence of this argument, best associated nodes will be returned.

Examples

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

*createmark lines 1 all
hm_linegetordernodes 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