GetRouteAnalysisSettings Method


Route Analysis Settings Get Route Analysis Settings Method

Returns the RouteAnalysisSettings element for a given document.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static RouteAnalysisSettings GetRouteAnalysisSettings(
	Document cda
)

Parameters

cda Document
The document for which to get the RouteAnalysisSettings element.

Return Value

RouteAnalysisSettings

Returns the RouteAnalysisSettings element in project documents or for family documents

.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Project documents have a RouteAnalysisSettings element, one per document. Family documents do not have RouteAnalysisSettings elements.
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 →