.settings
TntpNetworkReader property
Description
The .settings
property allows access to the settings of the TntpNetworkReader
.
Return type
TntpNetworkReaderSettings
implementation
Example 1
from planit import *
# create a network converter
planit_instance = Planit()
network_converter = planit_instance.converter_factory.create(ConverterType.NETWORK)
# TNTP network reader
reader = network_converter.create_reader(NetworkReaderType.TNTP)
reader.settings.set_network_file(NETWORK_FILE_PATH)
reader.settings.set_node_coordinate_file(NODE_COORD_FILE_PATH)
See also
TntpNetworkReaderSettings
the settings available
Source code
Class TntpNetworkReaderWrapper
in converterwrappers.py