PTV Visum - Frequently Asked Questions (FAQs)

(#VIS17497)

How can I export only active network elements (only active links) as shapefile?

Use an object of the class IExportShapeFilePara, and set the attribute OnlyActive:
myExportShapeFileParameterObject.AttValue('ONLYACTIVE') = 1

Code example:
http://vision-traffic.ptvgroup.com/faq-files/PTV_COM_Example_ExportSHP.zip