Skip navigation
All Places >

Python AddIns

Log in to follow, share, and participate in this socialgroup.

Recent Activity

jayprakashkumar706
Hey everyone! I want to create a Python Add-In tool that will perform the following sequence of tasks: 1. Read a specific feature layer in Table of Content (let's call it X) 2. Check the version for the layer [Working on SDE only] 3. Read the selected features from the layer X 4. Copy the selected features from layer X to another layer… (Show more)
in Python AddIns
RS3000
Hi.    I have python code extension that runs on startup. The MXD has "store relative Paths" turned on by default. The script works well and does what it has to do. However every time the script runs it stops the ""Store relative paths" in the MXD from working and breaks the link to the local gdb. The script simply resources some of the layers in… (Show more)
in Python AddIns
NewGuard
I have added a toolbar and a button using python add-in assistant (arcmap 10.4).  I would like the button to be enable, if and only if, one particular layer (named operations) has exactly one feature selected.  I can easily use the __init__ function of the button to test if these circumstances are met at runtime.  If they are, the button is… (Show more)
in Python AddIns
jperkins_CPU
Is there a way to add ESRI created tools to an add-in toolbar, so that anyone in the organization could load the add-in and have the tools on it? Or is that beyond the scope of the python add-in?    I know how to create a tool palette, for instance, and write python for a custom tool -- but what if I wanted to add the ESRI buffer tool to it, and… (Show more)
in Python AddIns
bwilsoncc
I have written a Python add-in extension for ArcMap 10.6, I want it to automatically update some attributes after a feature is edited or created. My test code looks like this:   def onStopOperation(self):   print("%d onStopOperation(self)" % self.count)   self.count += 1   print("Workspace ", self.editWorkspace)   print("Selected ",… (Show more)
in Python AddIns
rzufelt
I have created several addins, however, I also use the Attribute Assistant quite frequently.   I would like to be able to incorporate into my addin(s) the ability to turn off the Attribute Assistant when I run my other addin tool(s).   "Normally" I remember to turn off the AA before I run my addin, but occasionally I forget, which causes it's… (Show more)
in Python AddIns
jborgion
I've been working in the python addin environment for the past few months.  One of the projects I've undertaken is a series of QA QC routines that run independent of each other.  My first stab was to run each of the routines under the onClick function of one button on a toolbar.  In doing so, I'm able to import various python modules needed once,… (Show more)
in Python AddIns