.add(+)
Link output configuration method
Description
The .add(+) method, allows you to add output properties to the link segment results, i.e., adding a new column to each link segment result row with the indicated result type outlined by the output property.
Not all output properties are available in combination with link segment results. For a list of compatible output properties see the OutputProperty.<enum> documentation
Signature
.add(output_property)
with
Parameter | Type | Unit | Compulsory | Description |
---|---|---|---|---|
output_property | OutputProperty.<enum> | - | YES | Choice of output property to add |
Return type
None
Example 1
from planit import *
# prep
planit_instance = Planit()
planit_instance.project.set(TrafficAssignment.TRADITIONAL_STATIC )
# add Volume Capacity Ratio property to the static assignment results
planit_instance.project.assignment.link_configuration.add(OutputProperty.VC_RATIO)
See also
OutputProperty.<enum> for the available output property enums and their compatibility
Source code
Class LinkOutputTypeConfigurationWrapper
in projectwrappers.py
Last modified January 1, 0001