Creates a transform that represents a reflection across the given plane.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static Transform CreateReflection(
Plane plane
)
Parameters
- plane Plane
-
The plane.
Return Value
Transform
The new transform.
Exceptions
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
See Also
Reference