Synthèse
Returns a list of the languages in which you can generate directions for the routes you create during network analysis.
Syntaxe
ListDirectionsLanguages ({network_dataset_path})
Paramètre | Explication | Type de données |
network_dataset_path | This parameter is deprecated. Any value entered will be ignored. | String |
Type de données | Explication |
String | A list of two- and five-character strings representing the languages available for generating directions. Learn more about directions language codes. |
Exemple de code
Reads the available languages and stores them in a variable.
import arcpy
# Create a list of directions languages available with your ArcGIS installation
languages = arcpy.na.ListDirectionsLanguages()
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?