Views:

Question

How to create a flow bundle based upon a PrT assignment by using COM?

Answer

Example:

aFlowBundlePrT = Visum.Net.FlowBundle
aFlowBundlePrT.Clear()
aFlowBundlePrT.DemandSegments = "C"
aNetElmsPrT = Visum.CreateNetElements()
aNetElmsPrT.Add(Visum.Net.Nodes.ItemByKey(159))
aFlowBundlePrT.Execute(aNetElmsPrT)