This document is archived and information here might be outdated. Recommended version. |
Provides access to the editable properties of a network analysis context.
Name | Description | |
---|---|---|
AbortEditOperation | Cancels an edit operation in progress. | |
Bind | Prepare the context for analysis based upon the current network dataset schema. | |
ClearInputNAObjects | Empty NAClasses that are defined as input or input/output. | |
ClearOutputNAObjects | Empty NAClasses that are defined as output only. | |
ContextChanged | Message all of the network analysis agents that the analysis context has changed. | |
CreateAnalysisClass | Create a new analysis class based upon the given class definition. | |
HasRedos | Indicates if any redo operations are available. | |
HasUndos | Indicates if any undo operations are available. | |
Initialize | Prepare the context for analysis. | |
IsBeingEdited | Indicates if the class is currently being edited. | |
Locator | The locator used for finding network locations. | |
RedoEditOperation | Repeats the last edit operation. | |
Result | The result of the analysis. | |
ResultChanged | Message all of the network analysis agents that the analysis results have changed. | |
Solver | The function used for the analysis. | |
StartEditing | Starts an edit session. | |
StartEditOperation | Starts an edit operation. | |
StopEditing | Stops an edit session. | |
StopEditOperation | Stops an edit operation. | |
UndoEditOperation | Cancels the last edit operation and returns to the state before it was started. |
Classes | Description |
---|---|
NAContext | The analysis and problem definition container. |
The INAContextEdit interface is used to set up some of the internal references to objects and to manage edit operations within the NAClasses.
You must call Bind after calling CreateContext on NASolver. Solvers must call Initialize when they create the NAContext. If updating NALocationObjects outside of ArcMap, the methods to perform edits within an edit operation can be used. However, if edits are being done within ArcMap, it is recommended that the edit operation methods on the NAWindow's INAWindow be used instead so ArcMap's undo/redo stack remains in sync.
The Result and Solver properties should only be set from within a custom solver.