Author Topic: event goodbye  (Read 958 times)

0 Members and 1 Guest are viewing this topic.

nekitip

  • Guest
event goodbye
« on: April 29, 2013, 03:46:41 AM »
Hello all. I'm back to .net after a year away so I'm trying to catch up again almost from the begining! :)

So, i have a question aboute persistence of objects in database.
As I understand, DBobject will NEVER be destroyed in database untill it's database (and that means drawing file) is closed and thus event goodbye never fired before that.
That is:
1) goodbye event will never fire unless file is closing
2) even if DBobject is erased, it can always be available using getobject with transaction, by knowing its objectid and openerased option in transaction set to true

as in documentation
http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-E30279D1-E4B5-48A4-A3D8-9CEC83BD0967.htm,topicNumber=d30e732794

is there any exception from this, or am I seeing it wrong?
thank you