.settings

PlanitIntermodalReader property
Description

The .settings property allows access to the settings of the PlanitIntermodalReader.

Return type

PlanitIntermodalReaderSettings implementation

Example 1

from planit import *

# create an intermodal converter
planit_instance = Planit()
intermodal_converter = planit_instance.converter_factory.create(ConverterType.INTERMODAL)

# PLANit intermodal reader        
planit_reader = intermodal_converter.create_reader(IntermodalReaderType.PLANIT)
planit_reader.settings.set_input_directory("<path_to_input_files>")

See also

PlanitIntermodalReaderSettings the settings available

Source code

Class PlanitIntermodalReaderWrapper in converterwrappers.py