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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →