Network Analyst - See Avoid Restrictions

1610
1
04-14-2013 05:36 PM
JustinHunter
New Contributor III
Similar to the screenshot posted, I'd like to be able to pull this type of information out of a route result called from the WPF/Silverlight RouteTask.Solve event. I assumed it'd be in the directions, similarly to how it's displayed in ArcMap, but I cannot find it.

The business case behind this is to put a specific type of avoidance on certain road types. I need to be able to walk through the directions and sum up the distance of roads this takes so we can charge that back to our client.

Thanks
Tags (2)
0 Kudos
1 Reply
JustinHunter
New Contributor III
I believe I know the issue, but I still do not have the answer. Below is a snippet from the Route.Solve documentation:

directionsOutputType Description: Defines content, verbosity of returned directions. The default is esriDOTStandard.

Values: esriDOTComplete | esriDOTCompleteNoEvents | esriDOTInstructionsOnly | esriDOTStandard | esriDOTSummaryOnly 

There is no entry that I can see in the RouteParameter class that allows me to choose which of these I'd like.
0 Kudos