Views:

Question

How to create a flow bundle by using COM, based upon a PrT assignment, for a set of active links?

Answer

Example:

 

aFlowBundlePrT = Visum.Net.DemandSegments.ItemByKey("C").FlowBundle
aTTSet = aFlowBundlePrT.CreateRouteTrafficTypeSet()
aTTSet.Add(8) # Through trips/Durchgangsverkehr
aFlowBundlePrT.CreateConditionActiveLinks(aTTSet)
aFlowBundlePrT.ExecuteCurrentConditions()