ContainsPoint Method


Topography Surface Contains Point Method

Identifies whether the given point exists in the topography surface.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool ContainsPoint(
	XYZ point
)

Parameters

point XYZ
The point to be checked.

Return Value

Boolean
True if the input point exists in the topography surface, otherwise false.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The given point will be evaluated in XYZ. If a point matches the XY location, but not the elevation, this function still returns false. This applies to TopographySurface and SiteSubRegion elements.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →