Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to view the output of arcpy scripts (run in Python IDLE) in ArcMap. I tried refreshing the ArcMap data frame after I run the script. This does not work. Please advice me on this.

share|improve this question
    
Are you saving the map document in your code before refreshing? –  artwork21 Jun 11 '12 at 13:42
    
Changes to the data should work either way, but if you change the extent you'd have to save the map document. –  Roy Jun 11 '12 at 14:33
add comment

1 Answer 1

Run your Python scripts in the built in Python window in ArcMap. Changes will be displayed if you make references to the "CURRENT" map document.

Python Window in ArcGIS

Refresh active view will help if you're interested in changing the extent, otherwise layers are generally added to the map automatically with the exception of feature layers.

share|improve this answer
1  
I recommend clipping the image. As it is now it's a 90% white and featureless block and the actual area of interest is not legible. –  matt wilkie Jun 11 '12 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.