2027 Class
Changes 0
C

ElementTransformUtils

Description:
A collection of utilities allowing transformation of elements (e.g. move, rotate, mirror and copy).
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ElementTransformUtils
public static class ElementTransformUtils
Name Return Type Description
M CanMirrorElement(Document, ElementId) Boolean Determines whether element can be mirrored.
M CanMirrorElements(Document, ICollection<ElementId>) Boolean Determines whether elements can be mirrored.
M CopyElement(Document, ElementId, XYZ) ICollection<ElementId> Copies an element and places the copy at a location indicated by a given transformation.
M CopyElements(Document, ICollection<ElementId>, XYZ) ICollection<ElementId> Copies a set of elements and places the copies at a location indicated by a given translation.
M CopyElements(Document, ICollection<ElementId>, Document, Transform, CopyPasteOptions) ICollection<ElementId> Copies a set of elements from source document to destination document.
M CopyElements(View, ICollection<ElementId>, View, Transform, CopyPasteOptions) ICollection<ElementId> Copies a set of elements from source view to destination view.
M GetTransformFromViewToView(View, View) Transform Returns a transformation that is applied to elements when copying from one view to another view.
M MirrorElement(Document, ElementId, Plane) None Creates a mirrored copy of an element about a given plane.
M MirrorElements(Document, ICollection<ElementId>, Plane, Boolean) IList<ElementId> Mirrors a set of elements about a given plane.
M MoveElement(Document, ElementId, XYZ) None Moves one element by a given transformation.
M MoveElements(Document, ICollection<ElementId>, XYZ) None Moves a set of elements by a given transformation.
M RotateElement(Document, ElementId, Line, Double) None Rotates an element about the given axis and angle.
M RotateElements(Document, ICollection<ElementId>, Line, Double) None Rotates a set of elements about the given axis and angle.