Share

Transform.CreateReflection Method

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

Transform
The new transform.

Exceptions

ExceptionCondition
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

See Also

Reference

Was this information helpful?