hm_wadlinesgetdebugtracelines

Creates the debug lines used to create different types of reference lines, and returns the coordinates.

Syntax

hm_wadlinesgetdebugtracelines line_type ?offset_distance? ?protocol_method?

Type

HyperMesh Tcl Query Command

Description

Creates the debug lines used to create different types of reference lines, and returns the coordinates.

Inputs

line_type
The type of reference line to create the debug lines for:
0 - Bonnet leading edge reference line (BLERL)
1 - Bonnet rear reference line (BRRL)
2 - Left side reference line (LSRL)
3 - Right side reference line (RSRL)
4 - Upper bumper reference line (UBRL)
5 - Lower bumper reference line (LBRL)
8 - Internal bumper reference line (IBRL)
offset_distance
If specified, then it will create debug trace lines for respective offset reference lines. For example, with offset distance of 82.5mm offset lines will be constructed for the left side reference offset line with 82.5mm distance from LSRL.
protocol_method
0 - Euro-NCAP
1 - Homologation
2 - GTR/ECER
3 - UN-R127
4 - CNCAP

Examples

To get the debug trace lines for the left side reference line:
hm_wadlinesgetdebugtracelines 2
To get the debug trace lines for the offset bonnet rear reference line with a distance of 82.5:
hm_wadlinesgetdebugtracelines 1 82.5
To get the debug trace lines for the offset bonnet rear reference line with a distance of 82.5 for the GTR protocol method:
hm_wadlinesgetdebugtracelines 1 82.5 2

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

2020