ListDirectionsLanguages

サマリー

Returns a list of the languages in which you can generate directions for the routes you create during network analysis.

構文

ListDirectionsLanguages ({network_dataset_path})
パラメーター説明データ タイプ
network_dataset_path

This parameter is deprecated. Any value entered will be ignored.

String
戻り値
データ タイプ説明
String

A list of two- and five-character strings representing the languages available for generating directions. Learn more about directions language codes.

コードのサンプル

ListDirectionsLanguages example

Reads the available languages and stores them in a variable.

import arcpy

# Create a list of directions languages available
languages = arcpy.nax.ListDirectionsLanguages()

このトピックの内容