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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →