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


NetworkScriptEvaluator CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

NetworkScriptEvaluator CoClass

A container for describing a network attribute evaluator whose values are derived from VBScript expressions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

A NetworkScriptEvaluator is an evaluator that assigns network attribute values based on some VB Script code.  It allows you to compose arbitrarily complex expressions that combine multiple network attribute values to calculate a new attribute.

The NetworkScriptEvaluator has its CacheAttribute property equal to False, unlike the NetworkConstantEvaluator and NetworkFieldEvaluator.  This means that it does not evaluate its code when the network is built, but when a network solver requires the result of that calculation.  It is designed for dynamic analysis of a network under changing conditions.

Interfaces

Interfaces Description
IGPDescribe Provides access to a Geoprocessing description.
INetworkEvaluator Provides access to members that specify the properties of an attribute evaluator in a network dataset.
INetworkEvaluator2 Provides access to members that specify the properties of an attribute evaluator in a network dataset.
INetworkEvaluatorSetup Provides access to members that set up a network evaluator for use within a network dataset.
INetworkScriptEvaluator Provides access to members that specify the properties of a network attribute evaluator whose values are derived from VBScript expressions.
INetworkScriptEvaluator2 Provides access to members that specify the properties of a network attribute evaluator whose values are derived from VBScript expressions.