DirectShape.AddReferencePlane(Plane, DirectShapeReferenceOptions) Method
Adds a reference plane to the DirectShape. The reference plane can either be bounded or unbounded.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void AddReferencePlane( Plane refPlane, DirectShapeReferenceOptions options )
Parameters
refPlane
Plane
The geometry of the new reference plane.
options
DirectShapeReferenceOptions
The options that are used to configure the new reference plane.
Exceptions
Exception
Condition
ArgumentException
options cannot be used to add a reference object to this DirectShape.
ArgumentNullException
A non-optional argument was null
See Also
Reference
DirectShape Class
AddReferencePlane Overload
Autodesk.Revit.DB Namespace