hm_getangle
Returns the angle between three nodes/points.
Syntax
hm_getangle entity_type id1 id2 id3
Type
HyperMesh Tcl Query Command
Description
Returns the angle between three nodes/points.
Inputs
- entity_type
- The type of entity to query. Valid values are nodes and points.
- id1
- The ID of the first entity.
- id2
- The ID of the second entity.
- id3
- The ID of the third entity.
Example
To get the angle between nodes 100, 101 and 102:
hm_getangle nodes 100 101 102
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
10.0