|
POST
|
I see you are using arcpy.da.Describe which having read the Help file I've discovered that you use this if you want results in a dictionary format. I've never ever used that approach and I wonder if you don't need your description as a dictionary object then maybe you can use arcpy.Describe() instead? This is the approach I use and have never had any issues with. If it is a bug as hinted by other responders, then if you need to resolve this quickly, I would suggest you explore the use of arcpy.Describe().
... View more
03-16-2023
09:55 AM
|
0
|
4
|
3298
|
|
POST
|
I'm using 3.1, may be time to upgrade, there are many benefits such as bug fixes and new functionality.
... View more
03-16-2023
09:43 AM
|
0
|
1
|
2577
|
|
POST
|
I tested this (personally I tend not to use template projects) and my experience was not the same. If saving a project and using that as the "template" that is the wrong way of doing it. You need to create an APTX file, this is document here and when accessed it created a new default geodatabase and any data within it. My layers were not point back to the original geodatabase. So I'm going to guess you tripped up on something?
... View more
03-16-2023
09:37 AM
|
0
|
3
|
2583
|
|
POST
|
You don't say anything about how the time is stored, as you show it, it could be as a string, so summing a string makes no sense. You need to edit your question and add more detail, especially data format and what it is you are doing.
... View more
03-16-2023
09:19 AM
|
1
|
0
|
1949
|
|
POST
|
Ahhhh! I did not have the layer selected in the legend in the TOC, so that option did not appear. Nice one, thank you so much! Here is a well deserved virtual 🍺.
... View more
03-14-2023
03:43 AM
|
2
|
0
|
8161
|
|
POST
|
All, A colleague has created the following legend in ArcPro from a polygon dataset using unique values, so this is not a raster colour ramp. We simply turned off border display and change a legend property to reduce the gaps between the patches to zero. But the client wants the symbology to be horizontal, here is a crude cut example by me using MS paint of what they want: I can't work out for the life of me how one rotates the items in the legend to be horizontal, any carto experts out there with a killer solution?
... View more
03-13-2023
09:13 AM
|
1
|
4
|
8268
|
|
POST
|
Just an idea, if you cannot remove the layers how about building up new scenes and adding the elevation sources? Don't know if that is possible as I have used a scene in arcpy. You may have to explore using the CIM module?
... View more
03-01-2023
09:46 AM
|
0
|
0
|
910
|
|
POST
|
See my posting here: https://community.esri.com/t5/python-questions/code-completion-not-working-in-spyder-5-1-5-after/m-p/1186011
... View more
03-01-2023
09:34 AM
|
0
|
0
|
3906
|
|
POST
|
Explore the help page that Dan points to and you will see openView().
... View more
02-26-2023
08:30 AM
|
0
|
0
|
2054
|
|
POST
|
Hi Dan, Thanks for your input and I can confirm that my cloned environment was the active environment. I'm proper fed up with ArcPro breaking the python environment and causing applications to fail. Why do they bother to promote the use of spyder (as its part of the install packages) when it never works and you have to end up fiddling around with installing versions and trawling forums to work out how to get LSP working. I also note the outlines pane stopped functioning with this update. So I have done what probably thousands of other users have done and that is simply to give up. It's a shame as I was enjoying using spyder. I've held out against VSCode in attempt to support the little guys and have just installed that, it works fine and first time... If anyone from ESRI is reading this; seriously either remove spyder from your install package or spend some quality time working out why it breaks every time you release a significant update. I have removed spyder from my system.
... View more
02-26-2023
08:22 AM
|
1
|
1
|
3980
|
|
POST
|
All, So I have allowed ArcPro to update to 3.1.0. It decided my cloned python environment was broken so I had to delete it and clone another, that seemed to go all OK. I then installed spyder into the new environment, that was more problematic but I solved it and can confirm spyder opens OK and is aware of arcpy, so that seems to all be working OK. But the upgrade lost its link to the default script editor, so I reset that under the GeoProcessing Options as shown below: But when I right click and choose edit on my toolbox that I am developing python scripts in it opens the script up in the Windows notepad and not spyder. It seems to unpack the tool script into a temporary folder location, for example C:\Users\hornb\AppData\Local\Temp\ArcGISProTemp14556 I'm desperate for advice as I am unable to develop my code, I need to open it in spyder, not windows notepad!
... View more
02-25-2023
09:23 AM
|
0
|
6
|
4067
|
|
POST
|
If you look at the helpfile on describing a workspace it shows how to get finer granularity with workspace types using the property workspaceFactoryProgID.
... View more
02-21-2023
09:30 AM
|
0
|
3
|
4030
|
|
POST
|
@SoleneMas It's important you state what software you are using and what the format of your data is. Is it a shapefile or a file geodatabase, a date field or a text field? The answers currently being offered up are valid but they are making assumptions about data format which is critical in answer this question. Edit your question and add that detail.
... View more
02-21-2023
09:14 AM
|
0
|
0
|
9240
|
|
POST
|
Input parameter to which tool? Need more detail. Also what have you done so far?
... View more
02-15-2023
07:19 AM
|
0
|
0
|
687
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-03-2026 07:31 AM | |
| 3 | 06-29-2026 05:17 AM | |
| 1 | 02-15-2023 05:45 AM | |
| 1 | 06-16-2026 02:37 AM | |
| 1 | 06-15-2026 08:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|