hf_getautotippingangles

Return the auto-tipping angle along Z axis for selected mesh.

Syntax

hf_getautotippingangles mark_id symmetric_pane_normal_vector_id

Type

HyperMesh Tcl Query Command

Description

This command returns the tipping angles and rotation plane of auto-tipping for selected elements.

Inputs

mark_id
Selection mark, which can be 1 or 2.
symmetric_pane_normal_vector_id
A vector ID if the selected mesh is half of a symmetrical part.

Example

*createmark elements 1 all
set returnValue [hf_getautotippingangles 1 0]
set angle [ lindex $ returnValue 0 ]
set rotationPlaneX [ lindex $ returnValue 1 ]
set rotationPlaneY [ lindex $ returnValue 2 ]
set rotationPlaneZ [ lindex $ returnValue 3 ]
set rotationAnlongX [ lindex $ returnValue 4 ]
set rotationAnlongY [ lindex $ returnValue 5 ]
set rotationAnlongZ [ lindex $ returnValue 6 ]

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}