This document is archived and information here might be outdated.  Recommended version.


INetworkAnalystExtension Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalystUI)  

INetworkAnalystExtension Interface

Provides access to the network analyst extension.

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Members

Description
Read/write property CurrentNetworkLayer The current network layer.
Read-only property NAWindow The network analysis window.
Read-only property NetworkLayer The network layer by index.
Read-only property NetworkLayerCount The number of network layers.
Read/write property ShowAnalysisMessagesAfterSolve The types of messages that are displayed after solving.
Read/write property ZoomToResultAfterSolve Indicates if the window should zoom the map to show results after solving.

CoClasses that implement INetworkAnalystExtension

CoClasses and Classes Description
NetworkAnalystExtension The extension for network analysis.

Remarks

The INetworkAnalystExtension interface is the main interface for the NetworkAnalystExtension ArcMap extension used to access the NetworkLayers and the NAWindow which contains NALayers.

There are methods to get

.NET Snippets

Get Network Analyst Extension | Get Active Analysis Layer | Statements - Get NAWindow | Get Current Network Layer | Statements - Get Active Analysis Layer | Statements - Get Network Analyst Extension | Get NAWindow2

.NET Samples

Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC) | ArcGIS Network Analyst extension barrier location editor (Code Files: NABarrierLocationEditor) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Subset network evaluators (Code Files: AddSubsetAttributesCommand AutoUpdateNetworkElementArrayParametersCommand RemoveSubsetAttributesCommand SubsetHelperUI)

.NET Related Topics

How to load data into a network analysis problem | NetworkAnalystUI