CreateReflection Method


Transform Create Reflection Method

Creates a transform that represents a reflection across the given plane.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static Transform CreateReflection(
	Plane plane
)

Parameters

plane Plane
The plane.

Return Value

Transform
The 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;
}
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →