DividedSurface.AddIntersectionElement Method

DividedSurfaceAddIntersectionElement Method

Adds an intersection element to the divided surface.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void AddIntersectionElement(
	ElementId newIntersectionElemId
)
Public Sub AddIntersectionElement ( 
	newIntersectionElemId As ElementId
)
public:
void AddIntersectionElement(
	ElementId^ newIntersectionElemId
)
member AddIntersectionElement : 
        newIntersectionElemId : ElementId -> unit 

Parameters

newIntersectionElemId  ElementId
The intersection element to be added.
Exceptions
ExceptionCondition
ArgumentException The element newIntersectionElemId is not a level, grid, reference plane, or a curve element whose category is lines and reference lines.
ArgumentNullException A non-optional argument was null
See Also