DatumPlaneIsCurveValidInView Method

Checks if the curve is valid to be as the extents for the datum plane in a view. The curve must be bound and coincident with the original one of the datum plane.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsCurveValidInView(
	DatumExtentType extentMode,
	View view,
	Curve curve
)

Parameters

extentMode  DatumExtentType
The extent type.
view  View
The view.
curve  Curve
The curve.

Return Value

Boolean
True if it is valid, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also