Creates a transform that represents a reflection across the given plane.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static Transform CreateReflection( Plane plane )
Parameters
- plane Plane
- The plane.
Return Value
TransformThe new transform.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was NULL |
Example
C#
private Transform Reflect(ReferencePlane refPlane) { Transform mirTrans = Transform.CreateReflection(refPlane.GetPlane()); return mirTrans; }
VB
Private Function Reflect(refPlane As ReferencePlane) As Transform Dim mirTrans As Transform = Transform.CreateReflection(refPlane.GetPlane()) Return mirTrans End Function
