.set_xml_directory(+)
Default PLANit Output Formatter method
Description
The .set_xml_directory(+) method provides you with the option to overwrite the default output directory set by the PLANit output formatter for the XML (DEFAULT_XML_OUTPUT_DIRECTORY
) output files of a PLANit traffic assignment run.
Make sure that the provided output directory is a path where you have write access.
Signature
.set_xml_directory(path_to_dir)
with
Parameter | Type | Unit | Compulsory | Description |
---|---|---|---|---|
path_to_dir |
string |
None |
YES | Valid path with write access for user |
Return type
None
Example 1
from planit import *
#prep
plan_it = Planit()
# configure to persist output in same directory
plan_it.project.output.set_xml_directory("c:\users\public\planit\xml\")
#
# <more configuration>
#
plan_it.project.run()
See also
N/A
Source code
Class PlanItOutputFormatterWrapper
in projectwrappers.py