Filters and returns only the points of the topography surface which lie within the input bounding box.
Namespace: Autodesk.Revit.DB.ArchitectureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
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 |