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

DatumPlane.GetCurvesInView

Method
Description:
Gets a collection of curves representing the DatumPlane element in the given view.
Remarks:
Curves returned for Model extents can be different than curves returned for View-specific extents (2d extents) in the given view. In some cases, such as an arc grid in a section view, there will be two identical curves but offset from one another.
Syntax
public IList<Curve> GetCurvesInView(
	DatumExtentType extentMode,
	View view
)
Parameters
Parameter Type Description
extentMode DatumExtentType The extent type.
view View The view.
Return Value
Type Description
IList The curves.
Exceptions
Exception Condition
ArgumentException The datum plane cannot be visible in the view.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration