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