ElementTransformUtils Class

A collection of utilities allowing transformation of elements (e.g. move, rotate, mirror and copy).
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBElementTransformUtils

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static class ElementTransformUtils

The ElementTransformUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCanMirrorElement Determines whether element can be mirrored.
Public methodStatic memberCanMirrorElements Determines whether elements can be mirrored.
Public methodStatic memberCopyElement Copies an element and places the copy at a location indicated by a given transformation.
Public methodStatic memberCopyElements(Document, ICollectionElementId, XYZ) Copies a set of elements and places the copies at a location indicated by a given translation.
Public methodStatic memberCode exampleCopyElements(Document, ICollectionElementId, Document, Transform, CopyPasteOptions) Copies a set of elements from source document to destination document.
Public methodStatic memberCode exampleCopyElements(View, ICollectionElementId, View, Transform, CopyPasteOptions) Copies a set of elements from source view to destination view.
Public methodStatic memberGetTransformFromViewToView Returns a transformation that is applied to elements when copying from one view to another view.
Public methodStatic memberCode exampleMirrorElement Creates a mirrored copy of an element about a given plane.
Public methodStatic memberMirrorElements Mirrors a set of elements about a given plane.
Public methodStatic memberCode exampleMoveElement Moves one element by a given transformation.
Public methodStatic memberMoveElements Moves a set of elements by a given transformation.
Public methodStatic memberCode exampleRotateElement Rotates an element about the given axis and angle.
Public methodStatic memberRotateElements Rotates a set of elements about the given axis and angle.
Top
See Also