A singleton object representing Engine Network Analyst environment.
The EngineNetworkAnalystEnvironment object is a singleton object (only one instance of the EngineNetworkAnalystEnvironment object is supported per process) that manages the INetworkLayer objects and the NAWindow.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
|IConnectionPointContainer||Supports connection points for connectable objects.|
|IEngineNetworkAnalystEnvironment||Provides access to the network analyst extension.|
|IEngineNetworkAnalystHelper||Provides access to add a named geometry.|
|IExtension (esriSystem)||Provides access to members that define an extension.|
|ISupportErrorInfo||Indicates whether a specific interface can return Automation error objects.|
|IToolSelectedLayer (esriSystemUI)||Provides access to members that set and get the current selected layer, which selection commands and tools works on.|
|IEngineNetworkAnalystEnvironmentEvents (default)||Provides access to events triggered by the network analysis extension.|
When working with EngineNetworkAnalystEnvironment's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pEngineNetworkAnalystEnvironment as EngineNetworkAnalystEnvironment