FindPoints Method


Filters and returns only the points of the topography surface which lie within the input bounding box.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public IList<XYZ> FindPoints(
	Outline boundingBox
)
Visual Basic
Public Function FindPoints ( _
	boundingBox As Outline _
) As IList(Of XYZ)
Visual C++
public:
IList<XYZ^>^ FindPoints(
	Outline^ boundingBox
)

Parameters

boundingBox
Type: Autodesk.Revit.DB Outline
The 3D bounding box.

Return Value

The result points within the 3D bounding box

Remarks

This applies to TopographySurface, SiteSubRegion, and the topography surface associated with a BuildingPad element.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException boundingBox is an empty Outline.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions 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 →