leftieant76

Using arcpy to automate delete drawing objects / graphic elements

Discussion created by leftieant76 on Feb 8, 2014
Latest reply on Feb 10, 2014 by leftieant76
Hi

I'm looking for a way to automate the deletion of drawing / graphic objects in data (not page layout) view.

I've investigate using the GraphicElement object - but this does not seem to recognise any features drawn in data view (ie if I use ListLayoutElements on objects drawn in data view, nothing is returned, but it will return objects drawn in page layout view).

If I can find some way to identify the elements in data view, I should be able to use the delete() method to get rid of them.

Any bright sparks have any ideas?

Outcomes