Mirrors a set of elements about a given plane.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2016
Syntax
Visual Basic |
---|
Public Shared Function MirrorElements ( _
document As Document, _
elementsToMirror As ICollection(Of ElementId), _
plane As Plane, _
mirrorCopies As Boolean _
) As IList(Of ElementId) |
Visual C++ |
---|
public:
static IList<ElementId^>^ MirrorElements(
Document^ document,
ICollection<ElementId^>^ elementsToMirror,
Plane^ plane,
bool mirrorCopies
) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document that owns the elements.
- elementsToMirror
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
The set of elements to mirror.
- plane
- Type: Autodesk.Revit.DB..::..Plane
The mirror plane.
- mirrorCopies
- Type: System..::..Boolean
True if mirroring should be performed on copies of the elements, leaving the original elements intact.
False if no copies should be created and the elements should be mirrored directly.
Return Value
A collection of ids of newly created elements - mirrored copies. It is empty if the mirrorCopies arguments is false.
Remarks
Exceptions
See Also