hm_linelength

Returns the sum of lengths of the lines whose IDs are given as arguments.

Syntax

hm_linelength line1_id line2_id … lineN_id

Type

HyperMesh Tcl Query Command

Description

Returns the sum of lengths of the lines whose IDs are given as arguments.

Inputs

lineX_id
The ID number of a line.

Example

If the total length is not an integer, it will be returned as a double precision floating point number whose number of significant digits is determined by the global variable, g_ConversionPrecision. The length of every line will only be computed once, even if it is listed several times. Zero will be returned if no IDs are given.

Errors

None.