Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

arcpy.RefreshActiveView

$
0
0
Morning all,

I am trying to put together a script that automatically updates the active table in Data Driven Pages. I found the script from one of the user groups on here and I think I have managed to alter the script but there is showing an error in line 39 and line 40

arcpy.RefreshActiveView()
arcpy.AddMessage("Process Completed")

Not sure what to do to fix this as I am only learning python and scripting. I have attached a jpeg of the code in case it helps,

Many thanks
Attached Thumbnails
Click image for larger version

Name:	Script Error.JPG‎
Views:	N/A
Size:	94.5 KB
ID:	34601  

Viewing all articles
Browse latest Browse all 2485

Trending Articles