|
POST
|
Thanks @Kara_Shindle . I'm wondering, did you use a UNC path or a normal file path in the script?
... View more
01-18-2021
07:03 AM
|
0
|
3
|
4715
|
|
POST
|
Dan, I looked into project templates, but was running into various issues regarding loading times, or file paths still breaking, etc. I will continue to look into that as an option though
... View more
01-14-2021
11:51 AM
|
0
|
0
|
4766
|
|
POST
|
Hmmm, ok. When I reference a shapefile that's stored locally on my desktop, the code worked fine. The dataset I'm referencing is on our company's data server. I'm connected to that network when I'm running the script so I didn't think it would cause issues....is there something else I need to include in the code to make it work?
... View more
01-14-2021
11:36 AM
|
0
|
7
|
4773
|
|
POST
|
Hello, I am trying to create a very simple Python script tool for my team to use when opening a new ArcGIS Pro project that will automatically add a pre-determined group of datasets to the map. Below is a code snippet of what I want to do. Some of the data will be shapefiles and some are feature layers within file geodatabases. (the file path in the actual code is the full directory file path, without the ellipses) import arcpy
aprx = arcpy.mp.ArcGISProject("CURRENT")
aprxMap = aprx.listMaps()[0]
states_shp = r"...\States_NAD1983\states.shp"
aprxMap.addDataFromPath(states_shp)
aprx.save() I get this error: Apologies for my ignorance here, I'm hoping someone can help me out! Thank you! 🙂 -KC
... View more
01-14-2021
10:19 AM
|
0
|
9
|
4793
|
|
POST
|
I had issues with my original upgrade to 2.7 when I upgraded within ArcGIS Pro. @DanPatterson actually helped me with my post about this as well! When I removed the software and then did a fresh install with downloading 2.7 through myEsri, things are working fine.
... View more
01-14-2021
10:02 AM
|
1
|
0
|
5647
|
|
POST
|
Good point, I'll remember that in the future! Thanks again!
... View more
12-18-2020
10:25 AM
|
0
|
0
|
8600
|
|
POST
|
Thanks Dan. I ended up installing Pro from my machine and reinstalling 2.7 through the my.esri.com download, rather than the in-app upgrade option. It seems to be working now. Definitely seems to be related to this post - wish I'd seen it first! haha https://community.esri.com/t5/arcgis-pro-questions/arcpro-2-7-warning-before-upgrading-failed-to-load-system-tools/m-p/1010858#M35195
... View more
12-18-2020
10:07 AM
|
1
|
1
|
8605
|
|
POST
|
Hello, I updated my ArcGIS Pro to the latest version today (2.7), and now when I try to do a simple field calculation I get the message "Error 000574: Python Not Installed". Is this an issue with the version upgrade, or am I missing something really obvious? I've never had an issue with using Python within Pro before, and I thought it usually came installed by default. Thanks for any insight 🙂
... View more
12-17-2020
06:11 PM
|
0
|
4
|
8683
|
|
POST
|
So do you have the data within a file geodatabase? If so, there should be an attachments table that will contain the photo data.
... View more
09-29-2020
01:00 PM
|
0
|
5
|
19810
|
|
POST
|
You may also find this helpful How To: Batch export attachments from a feature class in ArcMap
... View more
08-26-2020
01:04 PM
|
1
|
0
|
2383
|
|
POST
|
How was the polygon created? I had a similar problem that resulted after I used the Union tool on two separate layers. I put the output in the Coordinate System I wanted, but I didn't project the layers initially before using the Union tool, so that caused issues. Maybe "starting fresh" would help?
... View more
08-24-2020
11:43 AM
|
0
|
0
|
6184
|
|
POST
|
I wonder if it's related to calculating Area vs. Area (geodesic)?
... View more
08-24-2020
10:30 AM
|
1
|
2
|
6184
|
|
POST
|
Thank you! All these years later, I was running into this issue as well. Using the full network path seems to have solved the issue for me. I was pretty ignorant and had to do some research on how exactly to get the full network path rather than the mapped file path. In case it helps anyone in the future.....a super easy and low-tech solution is just find the folder you want in file explorer, right click and drag into a word document. Then select "Create Hyperlink Here". This will give you the full path that you can copy and paste when you are setting the data source. Original post where I found this solution: Copy UNC network path (not drive letter) for paths on mapped drives from Windows Explorer - Super User
... View more
08-17-2020
12:24 PM
|
1
|
0
|
4854
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 3 | a week ago | |
| 5 | a week ago | |
| 1 | a week ago | |
| 39 | a week ago |
| Online Status |
Online
|
| Date Last Visited |
6 hours ago
|