Document.GetSpaceAtPoint(XYZ)
Method
Description:
Gets a space containing the point.
Gets a space containing the point.
Remarks:
Surveys only the spaces from the final phase of the project. The first one found will be returned. If there is no space containing the point, it returns null.
Surveys only the spaces from the final phase of the project. The first one found will be returned. If there is no space containing the point, it returns null.
Parameters
Parameter | Type | Description |
---|---|---|
point | XYZ | Point to be checked. |
Return Value
Type | Description |
---|---|
Space | The space containing the point. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the point is. |
ArgumentException | Thrown when the coordinates of the point are not number or are Double::MaxValue or Double::MinValue. |