Gets a space containing the point.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Space GetSpaceAtPoint(
XYZ point,
Phase phase
)
Parameters
- point XYZ
- Point to be checked.
- phase Phase
- Phase in which the space exists.
Return Value
SpaceThe space containing the point.
Exceptions
Remarks
If phase is
null, it will get the space of the last phase.The first one found will be returned. If there is no space containing the point, it returns
null.
See Also
Reference