Label | Explanation | Data Type |
Input Network Analysis Layer | The 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. Caution:This tool does not support last mile delivery or waste collection analysis layers even though these layer types support directions. | Network Analyst Layer |
Output File Type | Specifies the format that will be used for the output directions file. This parameter is ignored if the style sheet parameter has a value.
| String |
Output Directions File | The full path to the directions file that will be written. If you provide a style sheet for the Stylesheet parameter, ensure that the file suffix for the Output Directions File value matches the file type the style sheet produces. | File |
Report Length in These Units | Specifies the linear units that will be used in the directions file. For example, even if the impedance attribute has units of meters, you can show directions in miles.
| String |
Report Travel Time (Optional) | Specifies whether travel time will be reported in the directions file.
| Boolean |
Time Attribute (Optional) | The time-based cost attribute that will be used to provide travel times in the directions. The cost attribute must exist on the network dataset used by the input network analysis layer. For vehicle routing problem layers and route layers that use time windows, only the travel mode's cost attribute can be used for this parameter. | String |
Language
(Optional) |
The language that will be used for driving directions. Use a two- or five-character language code representing one of the available languages for directions generation for this parameter value. In Python, you can retrieve a list of available language codes using the ListDirectionsLanguages function. | String |
Style Name
(Optional) | Specifies the formatting style that will be used for directions.
| String |
Stylesheet
(Optional) | The style sheet that will be used for generating a formatted output file type (such as PDF, Word, or HTML). The suffix of the file in the output directions file parameter must match the file type that the style sheet generates. The tool overrides the output file type parameter if this parameter contains a value. Tip:To create custom HTML and text style sheets, copy and edit the style sheets from Network Analyst. The style sheets are available in the <ArcGIS installation directory>\Pro\Resources\NetworkAnalyst\Directions\Styles directory. The HTML style sheet is Dir2PHTML.xsl, and the text style sheet is Dir2PlainText.xsl. | File |
Derived Output
Label | Explanation | Data Type |
Network Analysis Layer | The updated network analysis layer with routes. | Network Analyst Layer |