hm_getlinetype
Returns the line type.
Syntax
hm_getlinetype line_id
Type
HyperMesh Tcl Query Command
Description
Returns the line type. Return values are:
- 0 - Free line
- 1 - Free surface edge
- 2 - Shared surface edge
- 3 - Non-manifold surface edge
- 4 - Suppressed surface edge
Inputs
- line_id
- The ID of the line.
Example
To get the type of the line with ID 341:
hm_getlinetype 341
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}