- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to explain this as short and exact as I can.
My tool contains various custom objects that depend on each other. So I am inserting them in the right order. When I am saving my drawing and try to reopen it, the dwginfields Methods of the objects get called in a different order, so that my objects cannot be initiated completely. I am trying to use an AcRxEventReactor with the Event initialDwgFileOpenComplete to complete my initiation there, but I encounter two huge problems:
- Somehow my Reactor detaches itself after I closed all open Drawings (but the AutoCAD application is still running). I use autoInitAndRelease = true.
- I need to store lists of my objects, that I depend on, per document. How can I achieve this in DBX since there is no document class available?
I am open for other ideas to get the saving and loading done with dependencies. Maybe I can change the order in which dwginfields methods are called, but I couldn't find a way.
I would appreciate your help.
Kind Regards
Christine
Solved! Go to Solution.