Gets a room containing the point.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Room GetRoomAtPoint( XYZ point, Phase phase )
Parameters
Return Value
RoomThe room containing the point.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the point is nullptr. |
ArgumentException | Thrown when the coordinates of the point are not number or are Double::MaxValue or Double::MinValue. |