In Revit API, Spatial Elements are represented by the DB.SpatialElement. This type is then used to create custom spatial types for Rooms (DB.Architecture.Room), Spaces (DB.Mechanical.Space), and Areas (DB.Area). DB.Space elements can be grouped by HVAC Zones (DB.Mechanical.Zone)

Querying Rooms

Use the Query Rooms+ v1.7 component to gather all Rooms or filter by criteria.

Add Room Separation Lines

The Add Room Separation+ v1.7 component will add individual Separation Lines to a view.

Add Rooms

The Add Room+ v1.7 component will add Rooms to a view given a location.

 

Querying Spaces

Use the Query Spaces+ v1.7 to gather all Spaces or filter by criteria.

Add Space Separation Lines

The Add Space Separation+ v1.7 component will add individual Space Separation Lines to a view.

Add Spaces

The Add Space+ v1.7 component will add Spaces to a view given a location.

 

Querying Area Schemes

Use the Query Area Schemes+ v1.12 to get all Area Schemes or filter by Name.

Querying Areas

Use the Query Areas+ v1.7 to gather all Areas or filter by criteria.

Add Area Boundary Lines

Use the Add Area Boundary+ v1.7 to add individual Area Boundary Lines

Add Areas

Use the Add Area+ v1.7 to add Areas to Views.

 

Analyze Instance Space

When the Revit option to Room Calculation Point is enabled in a Family (such as doors) the Component Neighbours+ v1.0 component returns the associated Spatial information.

Spatial Element Identity

Get Spatial Element Properties with the Spatial Element Identity+ v1.9 component.

Spatial Element Boundary

Get Spatial Element Boundary based on its Location Property with the Spatial Element Boundary+ v1.7 component.

Spatial Element Geometry

Get Spatial Element Geometry with the Spatial Element Geometry+ v1.7 component.