Destroy Method


Delete the created analytical model and the analytical elements such as spaces, surfaces, and openings.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public static void Destroy(
	EnergyAnalysisDetailModel model
)
Visual Basic
Public Shared Sub Destroy ( _
	model As EnergyAnalysisDetailModel _
)
Visual C++
public:
static void Destroy(
	EnergyAnalysisDetailModel^ model
)

Parameters

model
Type: Autodesk.Revit.DB.Analysis EnergyAnalysisDetailModel
The model will be destroyed.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

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 →