.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BeginDocumentClose events comes too late

1 REPLY 1
Reply
Message 1 of 2
Anonymous
354 Views, 1 Reply

BeginDocumentClose events comes too late

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost