ElementTransformUtils
A collection of utilities allowing transformation of elements (e.g. move, rotate, mirror and copy).
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.ElementTransformUtils
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static class ElementTransformUtilsThe ElementTransformUtils type exposes the following members.
Methods
Name
Description
Public Method
Static Member
CanMirrorElement
Determines whether element can be mirrored.
Public Method
Static Member
CanMirrorElements
Determines whether elements can be mirrored.
Public Method
Static Member
CopyElement
Copies an element and places the copy at a location indicated by a given transformation.
Public Method
Static Member
CopyElements(Document, ICollection.ElementId., XYZ)
Copies a set of elements and places the copies at a location indicated by a given translation.
Public Method
Static Member
Code Example
CopyElements(Document, ICollection.ElementId., Document, Transform, CopyPasteOptions)
Copies a set of elements from source document to destination document.
Public Method
Static Member
Code Example
CopyElements(View, ICollection.ElementId., View, Transform, CopyPasteOptions)
Copies a set of elements from source view to destination view.
Public Method
Static Member
GetTransformFromViewToView
Returns a transformation that is applied to elements when copying from one view to another view.
Public Method
Static Member
Code Example
MirrorElement
Creates a mirrored copy of an element about a given plane.
Public Method
Static Member
MirrorElements
Mirrors a set of elements about a given plane.
Public Method
Static Member
Code Example
MoveElement
Moves one element by a given transformation.
Public Method
Static Member
MoveElements
Moves a set of elements by a given transformation.
Public Method
Static Member
Code Example
RotateElement
Rotates an element about the given axis and angle.
Public Method
Static Member
RotateElements
Rotates a set of elements about the given axis and angle.