A container for describing a network attribute evaluator whose values are derived from VBScript expressions.
Description
A NetworkScriptEvaluator is an evaluator that assigns network attribute values based on some VB Script or Python 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. |
INetworkScriptEvaluator | Provides access to members that specify the properties of a network attribute evaluator whose values are derived from VBScript expressions. |