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

Drawing Open Events

1 REPLY 1
Reply
Message 1 of 2
davidgarner
400 Views, 1 Reply

Drawing Open Events

ObjectARX has the reactor: AcEditorReactor::beginDwgOpen()

What is the event handler for this in .net

I have found:

InitialDwgFileOpenComplete which wraps
AcRxEventReactor::initialDwgFileOpenComplete

DwgFileOpened which wraps AcRxEventReactor::dwgFileOpened
1 REPLY 1
Message 2 of 2
davidgarner
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.

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