DirectionsCustomizer
サマリー
A base class for a directions customizer.
ディスカッション
This class is used as the base class when creating a directions customizer class (class MyCustDirs(arcpy.nax.DirectionsCustomizer)).
方法
attach(network_query)
Verifies that the direction customizer can be attached to the network.
It is invoked when the direction customizer is attached to the network dataset. It may be invoked multiple times depending on the number of threads accessing the network.
| 名前 | 説明 | データ タイプ |
|---|---|---|
|
network_query |
The network query instance for the current network dataset. |
NetworkQuery |
戻り値
| データ タイプ | 説明 |
|---|---|
|
Boolean |
True, if the direction customizer can be attached to the network dataset |
customize(directions_query)
Customizes the final directions output.
It is invoked by the directions engine once per route.
| 名前 | 説明 | データ タイプ |
|---|---|---|
|
directions_query |
The directions query instance for the current route. |
DirectionsQuery |