Space Class


Provides access to the space topology in Autodesk Revit.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public class Space : SpatialElement
Visual Basic
Public Class Space _
	Inherits SpatialElement
Visual C++
public ref class Space : public SpatialElement

Remarks

The space object can be queried for its boundary for use in space planning tools.

Inheritance Hierarchy

SystemObject
  Autodesk.Revit.DBElement
    Autodesk.Revit.DBSpatialElement
      Autodesk.Revit.DB.MechanicalSpace

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 →