Skip to content

ElementTransformUtils

Public Class

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 ElementTransformUtils

The ElementTransformUtils type exposes the following members.

Methods

Name

Description


Public Method
Static Member

Determines whether element can be mirrored.


Public Method
Static Member

Determines whether elements can be mirrored.


Public Method
Static Member

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

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

Moves one element by a given transformation.


Public Method
Static Member

Moves a set of elements by a given transformation.


Public Method
Static Member
Code Example

Rotates an element about the given axis and angle.


Public Method
Static Member

Rotates a set of elements about the given axis and angle.