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: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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