hm_getlinestartpoint
Returns the components of the line start point.
Syntax
hm_getlinestartpoint line_id
Type
HyperMesh Tcl Query
Description
Returns the components of the line start point. If the line is a closed loop, the start and end points will return the same value.
Inputs
- line_id
- The ID of the line.
Example
To get the components of the start of the line with ID 341:
set list [hm_getlinestartpoint 341]
set x [lindex $list 0]
set y [lindex $list 1]
set z [lindex $list 2]
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}