Reputation
2,078
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
2 17 44
Impact
~136k people reached

Feb
14
comment Use 'if' statement in ModelBuilder to stop model
@Steve Regarding your first issue, that normally happens when the model gets "tired" i.e. you have been fiddling with it for a while. I know that's not really an explanation but in my experience that is what happens to models. For best results you will need to open a new model and set it up again like your old one. Also, the Get Count tool output can be used as true/false, without needing to write the conditional test.
Jan
31
comment SQL expression to python expression
Could you post your Python code so we can see where the actual problem is?
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
Improved title to be clearer
Jan
30
answered How to save geodatabase attachments to disk with updated exif data
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
Revised title
Jan
30
revised How to save geodatabase attachments to disk with updated exif data
added 287 characters in body
Jan
30
asked How to save geodatabase attachments to disk with updated exif data
Jan
21
awarded  Necromancer
Dec
13
awarded  Notable Question
Dec
5
comment How to call arcpy.RefreshActiveView() every 5 seconds using ArcGIS Python?
Your first code snippet is correct, but it is an infinite loop though. In your question you say you want it to run infinitely, but are you sure? Do you perhaps mean you want it to run for an extended period of time and then stop?
Nov
25
comment data driven pages format
I have done this as well. As good practice now I normally use a "turned off" version of the layer as the ddp source, then anything with the labels, page definitions, symbology etc I set on a copy of the ddp layer (or two copies, depending on the project). I find it easier that way, so I know at a glance LOTS DDP is the ddp source while LOTS contains the actual visible features.
Nov
20
comment How to position callout bubble leader using maplex?
Agree with @johns. Where I have had Maplex issues with about 10% of my labels, I would either use 2 classes with SQL queries to include/exclude the problematic labels, or if there were few enough (less than 30), I would convert to annotation and position them manually. I would then use definition queries to turn them on/off as needed through Python.
Nov
19
comment How to Calculate fields for attribute table using ModelBuilder?
Can you be a bit more specific - what are you trying to calculate in the fields?
Nov
18
comment Getting XY coordinates and field values for each row in ArcPy SearchCursor?
I like PolyGeo's answer, but I like yours a bit more as it's a bit more obvious especially for beginners.
Nov
15
answered How to automatically generate useful scales for data driven pages in ArcGIS desktop
Nov
14
comment How To Export Selected Data Driven Pages to PDF?
@RyanDalton +1 for the ESRI blog link, I used that post as my starting point for doing DDP in Python and it really helped me with many scripts doing various things.
Nov
13
comment Iterate Workspaces in Modelbuilder not executing all tools
I figured this is a bug in ModelBuilder, so I've long sinced moved to Python to do this sort of thing for me.
Nov
6
comment How to Receive an Email after a script has run?
Excellent, have been meaning to look into this as well.
Nov
6
comment Python If else statements
This sounds more like you want to set up subtypes and attribute domains. If you set up a subtype on field A, then using an attribute domain the dropdown list in Field B would change accordingly. This would ensure that if NI is chosen, Non Irrigated is automatically populated, else the dropdown list will appear.
Nov
1
comment Can't load layers into ArcGIS Viewer for Silverlight
Have you published a map service containing those layers?