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: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
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