Hello,
Has anyone had any issues with arcpy.da.Walk() not reading aprx files before?
I recently downgraded from Pro 3.0 to 2.8(with all patches) and in 3.0 I was able to find aprx files in the directory using da.Walk(). However, after downgrading I can't seem to get it to work, but os.walk() does.
Thank you for your time!
Solved! Go to Solution.
hi Oliver, yes this is an issue we addressed in the Pro 2.9 release.
Workaround is to switch your code to using python's os.walk functionality. Of course os.walk is for walking files in a folder tree, which works fine for ".aprx" files. You'll find it's easy to adjust your code to it since we modeled arcpy.da.Walk after it.
It seems to find them in 2.9.3 just fine.
R_
hi Oliver, yes this is an issue we addressed in the Pro 2.9 release.
Workaround is to switch your code to using python's os.walk functionality. Of course os.walk is for walking files in a folder tree, which works fine for ".aprx" files. You'll find it's easy to adjust your code to it since we modeled arcpy.da.Walk after it.
Awesome thank you! We will be moving to 2.9 soon! 👍 😁🙌 😊