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?
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?