.activate(+)
PLANit method
	       
	Description
The .activate(+) method allows you to activate different types of output for your assignment given some output formatter enum that you provide
Signature
.activate(output_type)
with
| Parameter | Type | Unit | Compulsory | Description | 
|---|---|---|---|---|
| output_formatter_type | OutputFormatter.<enum> | None | YES | Type of output formatter to apply | 
Return type
None
Example 1
from planit import *
# prep
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC )
# without any explicit activation of any output formatter, PLANit will automatically 
# activate PLAN_IO upon the creation of any traffic assignment type. No explicit action needed
# the output formatter is then accessible via the .output property
planit_instance.output.<some method>
Example 2
from planit import *
# prep
planit_instance = PLANit()
planit_instance.set(TrafficAssignment.TRADITIONAL_STATIC)
# Activate memory based output formatting on top of the default persistence
planit_instance.activate(OutputFormatter.MEMORY)
# access via .memory property to configure further
planit_instance.memory.<some method>
See also
OutputFormatter.<enum> for supported output formatters
PLANit.deactivate(+) for de-activating output formatters
Source code
Class PLANit in PLANit.py
Last modified January 1, 0001