IsCurveValidInView Method


Datum Plane Is Curve Valid In View 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
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →