This document is archived and information here might be outdated. Recommended version. |
Refresh the network evaluators assigned to this network attribute.
[Visual Basic .NET]
Public Sub Refresh ( _
)
[C#] public void Refresh ( );
[C++]
HRESULT Refresh(
void
);
Calling Refresh propogates the call to INetworkEvaluator2::Refresh on the attribute's underlying network evaluators that implement INetworkEvaluator2. This gives the evaluator an opportunity to update its state based on current data or parameter values. This method is called by the network analyst solvers after setting INetworkAttribute2::Parameters prior to performing the solve operation.
When solving against live traffic data, Refresh puts the NetworkAttribute in a state to check for a dynamic traffic file (DTF) on the next time-based attribute query. That first query will decide which DTF will apply to all subsequent solves, until the next call to Refresh.