Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 18412

A site-package created by Esri to expose ArcGIS Desktop (ArcMap and ArcGIS Pro) geoprocessing, mapping, etc, to Python.

1 vote
Accepted

Checking via ArcPy if ArcMap is in edit session?

I'm not happy with this solution because it's more of a hack than what I imagine is proper arcpy scripting. Better ideas anyone? …
user18412's user avatar
  • 357
4 votes

Checking via ArcPy if ArcMap is in edit session?

I'm posting another answer because I've learned a new method for checking the status of the Editor in ArcMap using ArcObjects and Python together. My answer borrows heavily from the work done by Mark …
user18412's user avatar
  • 357
3 votes
1 answer
1k views

After ArcGIS 10.2.1 update, Arcpy 64 bit import Error

module> import arcpy File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\__init__.py", line 24, in <module> from arcpy.toolbox import * File "C:\Program Files (x86)\ArcGIS\Desktop10.2 … \arcpy\arcpy\toolbox.py", line 656, in <module> from na import AddFieldToAnalysisLayer as AddFieldToAnalysisLayer_na File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\na.py", line 26, in …
user18412's user avatar
  • 357
11 votes
5 answers
6k views

Checking via ArcPy if ArcMap is in edit session?

I've created a Python add-in button that helps speed up my coworkers workflow by copying one feature class attribute to another. It uses the arcpy.UpdateCursor function to update a row in the target f …
user18412's user avatar
  • 357
1 vote
1 answer
1k views

Help with formatting ArcGIS text elements with Python

I'm struggling with a formatting issue that comes from inserting text into a Text Element object in ArcGIS using Python. I want to print a table of values of which all but the last column are numbers. …
user18412's user avatar
  • 357