Problem while performing Export to PDF

Discussion created by svikram86 on Jun 11, 2013
Latest reply on Jun 13, 2013 by nilsbabel
Hello all ,

I am creating a map for each feature in a feature class . I export the map to pdf using python . When i open the map ,I see there are bits and pieces of line features . I suspect I am refreshing my activeview just before exporting the pdf . Before refresh process completes , export to pdf executes and gives me this problem . I am using ArcGIS 10 . Can anyone please help me

df = arcpy.mapping.ListDataFrames(mxd)[0]
df.extent = extent