AnsweredAssumed Answered

Arcpy Delete Multiple Elements

Question asked by Celil on Mar 7, 2017
Latest reply on Mar 7, 2017 by Celil

From documentation (GraphicElement—Help | ArcGIS for Desktop ) elements can be deleted as below but after one element deletion layout refreshes with delete function and if you have good amount of elements at layout this operation requires good time to be finished. How can this elements can be deleted simultaneously ? One delete and refresh operation would be better for time perpective, any idea'd be helpful.

 

for elm in arcpy.mapping.ListLayoutElements(mxd, wildcard="_clone"):

   elm.delete() del mxd

 

Thanks in advance.

Outcomes