DocumentUnitsMatrix.SetTranslation Method

Sets the translation portion of the matrix. If the optional ResetRotation flag is True, the rotation portion of the matrix is reset to identity.

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 25.0

Syntax

VB

Public Sub SetTranslation ( 
	translation As DocumentUnitsVector,
	Optional resetRotation As Boolean = false
)

C#

public void SetTranslation(
	DocumentUnitsVector translation,
	bool resetRotation = false
)

Parameters

translation
Type: Autodesk.iLogic.Types.DocumentUnitsVector
Input to subtract.
resetRotation (Optional)
Type: System.Boolean
Optional input Boolean that indicates whether to reset to rotation portion of the matrix to identity. This Is an optional argument whose default value Is False.

See Also

Reference

DocumentUnitsMatrix Class
Autodesk.iLogic.Types Namespace