SurfaceDataSource Property


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: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public MassSurfaceDataSource SurfaceDataSource { get; set; }
Visual Basic
Public Property SurfaceDataSource As MassSurfaceDataSource
	Get
	Set
Visual C++
public:
property MassSurfaceDataSource SurfaceDataSource {
	MassSurfaceDataSource get ();
	void set (MassSurfaceDataSource value);
}

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.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException When setting this property: The surface data source does not fall within an appropriate range.
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration

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 →