Click or drag to resize
SbViewVolumeGetAlignRotation Method (Boolean)
Returns a rotation that would align a viewed object so that its positive x-axis (of its object space) is to the right in the view and its positive y-axis is up.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntax
public SbRotation GetAlignRotation(
	bool rightAngleOnly
)

Parameters

rightAngleOnly
Type: SystemBoolean
If true, use only 90 degrres rotation to perform action.

Return Value

Type: SbRotation
Rotation value.
Remarks
If rightAngleOnly is true, it will come as close as it can to this goal by using only 90 degrees rotations.
See Also