RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DividedPath

DividedPath.IsIntersectorValidForCreation

Method
Description:
This returns true if the intersector is an element that can be used to intersect with a newly created divided path.
Remarks:
Intersectors can be curve elements, datum planes, or divided paths. This function is should not be used to validate the input to SetIntersectors() because it does not check for self intersection of any other circular dependencies between intersectors. Use isIntersectorValidForDividedPath() instead.
Syntax
public static bool IsIntersectorValidForCreation(
	Document document,
	ElementId intersector
)
Parameters
Parameter Type Description
document Document The document.
intersector ElementId The intersector.
Return Value
Type Description
Boolean True if the reference can be used to create a divided path, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null