Label | Explanation | Data Type |
Input Network Analysis Layer | Network analysis layer for which directions will be generated. Directions can be generated only for route, closest facility, and vehicle routing problem network analysis layers. | Network Analyst Layer |
Output File Type | The format of the output directions file. This parameter is ignored if the stylesheet parameter has a value.
| String |
Output Directions File | The full path to the directions file that will be written. If you provide a stylesheet in the Stylesheet parameter, make sure the file suffix for Output Directions File matches the file type your stylesheet produces. | File |
Report Length in These Units | Specifies the linear units in which the length information will be reported in the directions file. For example, even though your impedance was in meters, you can show directions in miles.
| String |
Report Travel Time (Optional) |
| Boolean |
Time Attribute (Optional) | The time-based cost attribute to provide travel times in the directions. The cost attribute must exist on the network dataset used by the input network analysis layer. | String |
Language
(Optional) |
Choose a language in which to generate driving directions. The input for this parameter should be a two- or five-character language code representing one of the available languages for directions generation. In Python, you can retrieve a list of available language codes using the ListDirectionsLanguages function. | String |
Style Name
(Optional) | Choose the name of the formatting style for the directions.
| String |
Stylesheet
(Optional) | The stylesheet for generating a formatted output file type (such as a PDF, Word, or HTML file). The suffix of the file in the output directions file parameter should match the file type that the stylesheet generates. The Directions tool overrides the output file type parameter if this parameter contains a value. Tip:If you want a head start on creating your own text and HTML stylesheets, copy and edit the stylesheets Network Analyst uses. You can find them in the following directory: <ArcGIS installation directory>\ArcGIS\ArcGIS Pro\Resources\NetworkAnalyst\Directions\Styles. The stylesheet is Dir2PHTML.xsl, and the text stylesheet is Dir2PlainText.xsl. | File |
Derived Output
Label | Explanation | Data Type |
Network Analysis Layer | The updated network analysis layer with routes. | Network Analyst Layer |