NWexport
Previous  Top  Next

Function NWexport(filename: string): integer;

Exports the currently loaded network into a new GIS file in the format specified by property GISformat. The generated file contains attribute information about the original record ID.

Deleted records are skipped in the output and any formatting in the original MIF/TAB/CGF files is lost. Objects, which are not single-sectioned (poly)lines, are skipped too. If any objects has a length of zero (i.e. a polyline with the same 2 vertices), they are also skipped, since they are not part of the network. The generated GIS file will also reflect any ZLevelFile used when creating the network.

Use OnNWexportProgress event for tracking progress.

Possible error codes: -10 -32 -40 -46
Versions: Pro (not trial licenses)
ActiveX / VCL / CLX component: RWnetBase