Active Contributor
Posts: 26
Registered: ‎04-14-2005
Message 1 of 2 (147 Views)

Drawing Open Events

147 Views, 1 Replies
04-04-2006 11:34 AM
ObjectARX has the reactor: AcEditorReactor::beginDwgOpen()

What is the event handler for this in .net

I have found:

InitialDwgFileOpenComplete which wraps

DwgFileOpened which wraps AcRxEventReactor::dwgFileOpened
Active Contributor
Posts: 26
Registered: ‎04-14-2005
Message 2 of 2 (147 Views)

Re: Drawing Open Events

04-05-2006 01:29 PM in reply to: davidgarner
OK, here is what I think is correct.

The beginDwgOpen() reactor sort of matches up with DocumentCreateStarted event handler in .Net. This is a misnomer since it is fired when a document is created OR an existing document is opened.

The event arg filename property will be String.Empty if it is a new document otherwise it will contain the filename of the existing document being opened.

If anyone knows of a different way to do it please let me know. I'm really just guessing at this point.
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.