Gets a space containing the point.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Space GetSpaceAtPoint( XYZ point )
Parameters
- point XYZ
- Point to be checked.
Return Value
SpaceThe space containing the point.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the point is null. |
| ArgumentException | Thrown when the coordinates of the point are not number or are Double::MaxValue or Double::MinValue. |
