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:
- 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
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