Revit 2026 API
| Mass | 
   Indicates whether the MassSurfaceData properties are driven by the EnergyDataSettings
   of the Document or are overridden for the surface.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public MassSurfaceDataSource SurfaceDataSource { get; set; }
Public Property SurfaceDataSource As MassSurfaceDataSource Get Set
public: property MassSurfaceDataSource SurfaceDataSource { MassSurfaceDataSource get (); void set (MassSurfaceDataSource value); }
member SurfaceDataSource : MassSurfaceDataSource with get, set
Property Value
MassSurfaceDataSource Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentException | When setting this property: The surface data source does not fall within an appropriate range. | 
| ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration | 
 Remarks
Remarks
   The Construction property is not governed by this setting and
   has a separate value to indicate if it is to be synchronized
   with EnergyDataSettings.
See Also