Create Method


Creates a new analyzer.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2015

Syntax

C#
public static BuildingEnvelopeAnalyzer Create(
	Document document,
	BuildingEnvelopeAnalyzerOptions options
)
Visual Basic
Public Shared Function Create ( _
	document As Document, _
	options As BuildingEnvelopeAnalyzerOptions _
) As BuildingEnvelopeAnalyzer
Visual C++
public:
static BuildingEnvelopeAnalyzer^ Create(
	Document^ document, 
	BuildingEnvelopeAnalyzerOptions^ options
)

Parameters

document
Type: Autodesk.Revit.DB Document
The document that contains the physical model of the building.
options
Type: Autodesk.Revit.DB.Analysis BuildingEnvelopeAnalyzerOptions
Options for the method analyzing the building elements for the building envelope.

Return Value

The created analyzer.

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 →