GetSpatialElementDomainData Method


Gets the domain data for the spatial element. The domain data contains information of different spatial elements, such as electrical load area. Currently room/space/area don't have domain data.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2023

Syntax

C#
public SpatialElementDomainData GetSpatialElementDomainData()
Visual Basic
Public Function GetSpatialElementDomainData As SpatialElementDomainData
Visual C++
public:
SpatialElementDomainData^ GetSpatialElementDomainData()

Return Value

Returns a pointer to the base class for specific domain requirements for the spatial element.

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 →