This content has been marked as final. Show 7 replies
You could do this using the api. IALRoutingFolder has a ExportToNALayer() method you would call first (export to Network Analyst Layer). That gives you a VRP layer which has the OD matrix.
thank you for your quick reply.
How does this work?
When I right-click on a routing folder selecting "Export Routing Folders" it says "Error exporting routing folders"..
Hi Andrea, this exporting error pops up from time to time. To fix:
1. Browse to C:\Program Files\ArcGIS\Engine10.0\ArcLogistics\Bin (or wherever you installed, if it's a 64 bit machine it's likely in Program Files (x86) folder)
2. Right click ArcLogistics.exe > Properties > Compatibility tab.
3. Choose to run program in Windows XP Service pack 2 mode.
However, this isn't really what Jeff is talking about. To do what you're asking, you'd need to write some code as a plug-in. It shouldn't be too complicated if you have some experience with coding.
I did as you told me to, but the exporting error is still not fixed.
However, if I don't get the OD matrix that way, it's a secondary problem, because I need the matrix...
I don't have experience with coding, so I can't write some code as a plug-in..
Hi Andrea, sorry you're still experiencing issues. I suggest you contact technical support for the export error, I'm sure it's something simple but it will be easier for them to diagnose this.
As for exporting the OD matrix, sorry, that's an advanced type of functionality that is really only available through writing a plug-in or alternatively through using the Network Analyst extension in ArcMap if you have access to that.
Yes, I have access to ArcMap. How does the exporting of the OD matrix work by using the Network Analyst extension?