Select to view content in your preferred language

Create routes tool in ArcPy freezing midway through a first run

182
0
12-20-2023 10:28 AM
mbell_WMU
New Contributor

I am looking for some assistance on a problem with the Create Routes tool. I am using the tool to create a route along borehole sticks for cross-section development in an effort to separate borehole sticks by their lithologies, and the Create Routes tool seems to freeze and lock up on the first run but runs perfectly fine after the first try. While it is a very small thing, processing multiple cross-sections and having to stop the custom script after the first run with each line wastes a lot of time. Does anybody know of a solution or a bug fix to this?

The line of code is shown below:

arcpy.lr.CreateRoutes(bhLines, "relateid", lithRoute, "ONE_FIELD", "depth_drll", "#", "UPPER_LEFT")

where bhLines is the borehole stick feature class and lithRoute is the new route feature class.

0 Replies