Share

DatumPlane.IsCurveValidInView 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

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

Reference

Was this information helpful?