Hello Team,
I have created a Script tool in ArcGIS Pro using Python which should allow us to do the following:
However, it does not export the data as needed, the behavior it shows as follows:
The logical approach taken for this in script:
Script used : Will attach if needed
As of no, I am unsure of what could be going wrong. It would be really helpful if anyone can share some thought on this or maybe let me know if I missed something or if there is an easier approach to achieve this.
Hi @ArchitGIS
It would be beneficial to see the script to see how the code matches your logical steps.
Hello @Clubdebambos ,
Thanks for the response. I am unable to attach the files for some reason. Hence, uploaded it to files share
URL : https://uploadnow.io/f/JkMM4L9
File name : last_working_tool.zip
Also, a screenshot of the ArcGIS pro parameters:
Hi @ArchitGIS
Your code worked fine for me when selecting all lines between two points. There was an issue if the Map was in a different projection that the layer itself.
Hello @Clubdebambos ,
Thanks for checking this. That's an interesting find, I will test with different projections and hopefully that's the reason on my side as well.
Will share the test results soon.