|
POST
|
Not sure if this will work for you Aggregate Points—Help | ArcGIS for Desktop
... View more
05-04-2016
11:02 AM
|
0
|
0
|
7250
|
|
POST
|
Do you have an identifier to identify the exterior walls? Feature To Polygon—Help | ArcGIS for Desktop
... View more
05-04-2016
10:48 AM
|
0
|
1
|
3366
|
|
POST
|
You could set the script up to take a parameter GetParameterAsText—Help | ArcGIS for Desktop Running custom (model or script) tools in the background—Help | ArcGIS for Desktop
... View more
05-04-2016
09:23 AM
|
3
|
1
|
901
|
|
POST
|
How is your data set up? Could you provide an example? Will this tool work for you XY To Line—Help | ArcGIS for Desktop
... View more
05-04-2016
08:49 AM
|
1
|
4
|
1884
|
|
POST
|
Change this line cityName = arcpy.GetParameterAsText(0) to cityName = 'A Known City Name'
... View more
05-03-2016
08:09 AM
|
0
|
0
|
1555
|
|
POST
|
See this thread Calculating angles using ArcGIS Desktop 10.2
... View more
05-03-2016
05:37 AM
|
1
|
1
|
8779
|
|
POST
|
In your original script this line arcpy.SelectLayerByAttribute_management("Cities", "NEW_SELECTION", " CITY_NAME = 'cityName' ") would have run successful without selecting anything unless you have a value of 'cityName' This line cityName = arcpy.GetParameterAsText(0) is used for an external variable most common would be model builder
... View more
05-02-2016
12:16 PM
|
0
|
0
|
1555
|
|
POST
|
import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
#set the dataframe
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
cities = arcpy.mapping.ListLayers(mxd, "Cities")[0]
#Establish variables
cityName = arcpy.GetParameterAsText(0)
#Set variable as the parameter for the city search
arcpy.SelectLayerByAttribute_management(cities, "NEW_SELECTION", "CITY_NAME = '{}' ".format(cityName))
df.zoomToSelectedFeatures()
arcpy.RefreshActiveView()
... View more
05-02-2016
11:19 AM
|
0
|
4
|
1555
|
|
POST
|
If you are using mail merge it will hurt nothing to leave the OID field in place.
... View more
05-02-2016
09:21 AM
|
0
|
0
|
1097
|
|
POST
|
Defining fields in tables—ArcGIS Help | ArcGIS for Desktop
... View more
04-29-2016
01:17 PM
|
1
|
0
|
4193
|
|
POST
|
Just got this today have a look. Esri Training | Extend ArcGIS Pro Functionality with Add-Ins
... View more
04-29-2016
01:02 PM
|
0
|
1
|
1172
|
|
POST
|
Have you looked at this tool Make Query Layer—Help | ArcGIS for Desktop
... View more
04-29-2016
08:14 AM
|
1
|
1
|
2234
|
|
POST
|
You could store the connection file with your script and get the home path of the script see below. That would take away the ability to use it somewhere else. hmpath = os.path.realpath(__file__)
h,t = os.path.split(hmpath)
... View more
04-29-2016
07:16 AM
|
0
|
0
|
1364
|
|
POST
|
Just as a thought you could put the connection file in the same directory as the .lyr files that your users already have access.
... View more
04-29-2016
07:05 AM
|
0
|
2
|
1364
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-14-2015 01:29 PM | |
| 1 | 01-26-2016 10:18 AM | |
| 1 | 08-18-2015 06:01 AM | |
| 1 | 06-20-2016 12:34 PM | |
| 1 | 01-19-2016 06:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|