A site-package created by Esri to expose ArcObjects to Python.
1
vote
0answers
21 views
Is there a way to test if a feature class is registered with geodatabase?
I've got feature classes inside an Oracle 11g ArcSDE geodatabase.
I'd like to perform the arcpy method RegisterWithGeodatabase_management on all those feature classes.
But before that, I'd like to ...
2
votes
1answer
17 views
GDS Workspace Path resovles as owner not user
I am having trouble retrieving the correct path to the current map layer dataSource path. I am using ArcGIS Desktop 10.2 (10.2.0.3348)
The workspace path that gets returned is correct apart from the ...
-1
votes
0answers
32 views
how to access pixel management arcgis 10 with python? [on hold]
ı need to python scripts
first users shoud select any raster data when the scripts start (same arcgis add data button);
secondly, ı want to access raster pixell value.Because ı want to make ...
0
votes
1answer
43 views
How do I edit a Direct Connection Workspace using arcpy.da.Editor?
How to start editor to edit version data for ArcGIS 10.1 direct connection. I tried as given below code but it is throwing an error "Operation only allowed by the owner of the version [SDE.DEFAULT]". ...
4
votes
1answer
43 views
end execution of script and send email if schema has changed
I would like to append the data from one feature class to another after confirming that the schemas match in both feature classes.
I can append the data from one FC to another by using this simple ...
-3
votes
2answers
58 views
How to get layer extension info via Arcpy
I want to get file format of a layer with using Arcpy. I am writing a tool that needs to take raster or feature extension like SHP, TIFF etc. Which functions should i use ?
Note: I use ArcGIS 10
2
votes
1answer
63 views
arcpy FieldMappings for Spatial Join
I'm trying to create a python script tool to use within ArcMap 10.1. I created a Model and exported it as a python script and added custom field mappings for the first Spatial Join by reading through ...
2
votes
1answer
21 views
How to copy values from field to another using arcpy?
Can some one please let me know how I can do simple field calculation like Copying From "A" to "B" in ArcPy?
I have found lots os example on web which they all used extra expression and they were ...
0
votes
1answer
19 views
How to delete Field From Shapefile by Arcpy [closed]
I am using the following code to delete a field from a shapefile but I am getting an error!
def main():
# Import arcpy module
import arcpy
# Local variables:
point_shp = ...
0
votes
1answer
31 views
How to Add Field Between Two Existing Field in Shapefile
Can you please let me know if it is possible to add a new Field between two existing field using ArcPy?
For Example if I have "Name", "Area", fiels already in my shapefile can I add a new field called ...
3
votes
1answer
58 views
Issue on using Pyscripter with ArcGIS 10.2
Can someone please let me know how I can set the Pyscripter 2.5.3.0 x64 works with Python 2.7.3 which comes with ArcGIS?
what I did was:
1- I installed the ArcGIS 10.2
2- I installed Pyscripter ...
4
votes
1answer
68 views
Is it possible to store a default symbology layer in an arcpy add-in?
Since arcpy is limited in how symbology can be manipulated, I was curious to know if a symbology layer can be stored in an arcpy add-in. Does anyone know if it is possible to store a .lyr file, or ...
2
votes
1answer
28 views
How to specify units when using SelectLayerbyLocation_management WITHIN_A_DISTANCE?
Can anyone help by suggesting how to specify the units when using the SelectLayerbyLocation_management tool. I am selecting by "WITHIN_A_DISTANCE" and the ArcGIS resources do not suggest how to do ...
6
votes
1answer
40 views
Is setting the env.workspace var necessary for python add-in buttons in ArcMap?
I made a custom add-in for ArcMap (10.2 in my case) and was reviewing my code with a colleague. We're not sure if the setting the workspace is required in the code since the button's script is only ...
1
vote
2answers
55 views
Fastest way to Join tables in python automation
My issue comes form the fact that doing Joins manually is actually relatively quick (5mins), but python automation of this process is 6hrs! Here is my code:
import arcpy
GDB_MARK_TO_MARK_VECTOR_VIEW ...