POST
|
Well that failed. Since I created the network dataset using newTravelMode = arcpy.nax.TravelMode(), there is no Travel Mode created so I am unable to use the newTravelMode = arcpy.nax.TravelMode() approach as it apparently needs an existing Travel Mode. I will write code to modify the xml template so that I can complete this project. However, since the Travel Mode is required, then we really need a way to create/modify it using arcpy, and not requiring one to exist already. Sort of the Chicken or the egg problem. I do appreciate the quick responses, and while it was not the answer I was hoping for, at least I can move forward and stop searching. Have a great day.
... View more
03-31-2021
02:13 PM
|
0
|
1
|
1970
|
POST
|
Thanks, trying that now. On another note, you had sent me an email a little while back and unfortunately I think I must have deleted it by mistake. It was regarding input on a survey I think. You had helped me on another network problem at the 2019 UC. If you still need input I would be happy to help, just resend me the email.
... View more
03-31-2021
01:49 PM
|
0
|
2
|
1973
|
POST
|
Thanks Melinda. I only need the single distance-based impedance attribute. Do you have any examples on how to use arcpy.nax.TravelMode() ? The help documentation only shows how to construct a new Travel Mode Object from an existing Travel Mode. Would I just use newTravelMode = arcpy.nax.TravelMode()?
... View more
03-31-2021
01:30 PM
|
0
|
4
|
1984
|
POST
|
Software: ArcGIS Pro 2.7 In my standalone python script I am able to create a new network dataset in the new file geodatabase and build that network dataset. How can I define a travel mode?
... View more
03-31-2021
01:08 PM
|
0
|
8
|
1992
|
Online Status |
Offline
|
Date Last Visited |
a week ago
|