2023 Method
Changes 3
M

BoundaryValidation.IsValidBoundaryOnView

Description:
Indicates if the given curve loops compose a valid boundary on the view's detail sketch plane.
Remarks:
The curve loops are valid if projections of the loops onto the views's detail sketch plane do not intersect each other; each curve loop is closed; input curves do not contain any helical curve; and each loop is planar and lies on a plane parallel to the views's detail sketch plane, but not necessarily the same plane.
public static bool IsValidBoundaryOnView(
	Document document,
	ElementId viewId,
	IList<CurveLoop> curveLoops
)
Return Value bool True if the given curve loops are valid as described above, false otherwise.