You would use the BeginSave event for that.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
"Guido Rooms" wrote in message news:6326807@discussion.autodesk.com...
Hi,
I've been trying to remove temporary entities from a drawing via an event
handler that I add to the BeginDocumentClose event. Unfortunately, autocad
offers the user the opportunity to save the drawing before the handler runs,
and so the entities may be saved to disk before I'm able to delete them.
Does anyone know a way around this? Is there perhaps another event I can use
to do this?
Thanks in advance.
Greetings.
Guido Rooms