"Activate" Event for AutoCAD Document

"Activate" Event for AutoCAD Document

Anonymous
Not applicable
396 Views
1 Reply
Message 1 of 2

"Activate" Event for AutoCAD Document

Anonymous
Not applicable
Hi all,

I'm trying to make AutoCAD do some certain actions when a file is opened. All I find in the document events is the "Activate" event. That works well. But the problem is that my process will be executed every time the drawing is activated, not only the first time the drawing is opened.

Is there a way to make AutoCAD differentiate between activating the drawing during opening, and activating it later like in switching between several open drawings?



Thanks,

Remah Foda
0 Likes
397 Views
1 Reply
Reply (1)
Message 2 of 2

HJohn1
Advocate
Advocate
You could try saving a flag on the drawing and have your routine check it before running.
0 Likes