ElementTransformUtilsMoveElement Method |
Moves one element by a given transformation.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static void MoveElement(
Document document,
ElementId elementToMove,
XYZ translation
)
Public Shared Sub MoveElement (
document As Document,
elementToMove As ElementId,
translation As XYZ
)
public:
static void MoveElement(
Document^ document,
ElementId^ elementToMove,
XYZ^ translation
)
static member MoveElement :
document : Document *
elementToMove : ElementId *
translation : XYZ -> unit
Parameters
- document Document
-
The document that owns the elements.
- elementToMove ElementId
-
The id of the element to move.
- translation XYZ
-
The translation vector for the elements.
Exceptions
See Also