The arcpy.Describe has an attribute isBuildable, but not the buid status.
In ArcGIS Pro (starting with 2.4), you can access a network dataset's build status from standalone python using the NetworkDataset class's isBuilt property. There's another property to get the network's build timestamp.
NetworkDataset—Network Analyst module | Documentation
Dear Melinda Morang, works great. Thank you so much for prompt help!
Have a great day.
Dear Leo Deng,
were you able to solve this issue - to find if network dataset was built or not with arcpy?
Working on the same, and cannot find a way, how to do it.
Thank you.
Regards,
Vladimir
That is by design. You would have to examine the arcpy and tool model for Pro to see if that offers any further options.
Thank you!
By the way, is it available to create a network dataset automatically using python? I found that lots of Network Dataset properties are Read Only.
through arcpy it is mostly about getting properties
http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-network-analyst/closestfacilitysolverproperties.htm
then that leaves you with the code snippets for the network analyst tool in arctoolbox...
http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/an-overview-of-the-network-analyst-toolbox.htm
if a function has been implemented as a tool, then the code snippet will help. If it doesn't exist as a tool or through arcpy, it isn't available yet
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.