Change Network dataset in Business Analyst Desktop with python (arcpy)

1622
5
07-19-2019 07:17 AM
Status: Implemented
LouisDECOMBE
Occasional Contributor

Would be great to have the opportunity to change network data set of BA desktop directly by python arcpy librairy

 

5 Comments
DanielLee2

Louis,

You could create a reg file to update the StreetsNetwork string which is saved in

HKEY_CURRENT_USER\SOFTWARE\ESRI\BusinessAnalyst\Datasets\USA_ESRI_2018 key and update the

LouisDECOMBE

Hi Daniel, 

thank you for your proposition but I think we'll be blocked by our informatic system departement, but i keep in mind this solution in case we could.

Louis

by Anonymous User

Hi @LouisDECOMBE , please note we now have the ability to via python now. See link below for our help doc.

arcpy.env.baNetworkSource = NetworkSource

https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/ba-network-source.htm

I hope this helps you! 

by Anonymous User
 
LouisDECOMBE

Great. Thank you!