|
POST
|
For python toolbox Defining parameters in a Python toolbox—Help | ArcGIS for Desktop For script tool Basically you use in your script someVar = arcpy.GetParameterAsText(0) then set them to correspond in your tool properties.
... View more
12-18-2015
05:16 AM
|
0
|
0
|
3154
|
|
POST
|
Would you be interested in Setting feature template properties—Help | ArcGIS for Desktop instead?
... View more
12-17-2015
05:15 PM
|
0
|
0
|
2441
|
|
POST
|
Dan Patterson you had(a long time ago) the best example for linking python scripts to a tool box that had a well documented script and a tool box. Do you still have it, would be willing to share again?
... View more
12-17-2015
04:26 PM
|
0
|
1
|
3154
|
|
POST
|
Use GetParameterAsText—Help | ArcGIS for Desktop Defining parameters in a Python toolbox—Help | ArcGIS for Desktop
... View more
12-17-2015
01:49 PM
|
0
|
0
|
3154
|
|
POST
|
Try using os.path.join to put together your file paths outViewshed.save(os.path.join(workspace, "view" + str(n)))
... View more
12-17-2015
05:45 AM
|
2
|
1
|
2288
|
|
POST
|
You could use Summarizing data in a table—Help | ArcGIS for Desktop
... View more
12-16-2015
10:46 AM
|
0
|
0
|
1955
|
|
POST
|
You could disconnect the users removing the locks DisconnectUser—Help | ArcGIS for Desktop # set the workspace environment
arcpy.env.workspace = workspace
# No more users to connect to database
arcpy.AcceptConnections(workspace, False)
#Disconnect Users
arcpy.DisconnectUser (workspace, "ALL")
... View more
12-16-2015
10:35 AM
|
0
|
1
|
4508
|
|
POST
|
If you have lats and longs you should be able to (in arcmap) select file add data add xy data
... View more
12-15-2015
07:57 AM
|
1
|
0
|
1150
|
|
POST
|
Try using your sql statement in arcmap to make sure it works. I got this to work for me OBJECTID in (select max( OBJECTID ) from bpbSWBilling.DBO.Impervious GROUP BY FEATURE) ,notice I'm using "in" and not "="
... View more
12-15-2015
07:42 AM
|
1
|
12
|
7568
|
|
POST
|
Have you had a look at Working with the Attachments geoprocessing tools—Help | ArcGIS for Desktop
... View more
12-14-2015
01:05 PM
|
2
|
1
|
1379
|
|
POST
|
Save the code as a python script example "somemeaningfulName.py" then follow these instructions Adding a script tool—Help | ArcGIS for Desktop it will only work if you have the correctly named text element in your layout.
... View more
12-12-2015
07:23 AM
|
1
|
0
|
3743
|
|
POST
|
You could create a report template with ArcGis report writer then use ExportReport—Help | ArcGIS for Desktop
... View more
12-11-2015
09:59 AM
|
1
|
0
|
1156
|
|
POST
|
Create a text element in your layout with the "Element Name" = DateTimeElm Then open python inside arcpmap by clicking on the python tool on your standard tools tool bar. Copy and paste the code below into the python interpreter and click enter twice. code from datetime import date, timedelta
mxd = arcpy.mapping.MapDocument("CURRENT")
#Where my code says "DateTimeElm" your text element needs to be named the same or change this name to reflect your text element
elm = arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "DateTimeElm")[0]
elm.text = date.strftime(date.today() - timedelta(days=1), '%m/%d/%Y')
arcpy.RefreshActiveView()
... View more
12-11-2015
08:27 AM
|
1
|
2
|
3743
|
|
POST
|
You can use feature set as part of your interaction with your map. Create a model for testing purposes and use a feature set as a variable then use with select by location, that should give you a feel for haw it works. A quick tour of using Feature Set and Record Set—Help | ArcGIS for Desktop
... View more
12-05-2015
11:01 AM
|
1
|
0
|
5072
|
| 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
|