Hi, there!
I've created a CustomObject (with a managed wrapper) that I would like to add to the drawing's named dictionary. I will refer to it as an "ObjectMap" object (it stores some ID mapping).
Everything works fine when creating the managed object and adding it to the dictionary (during BeginSave), but when I try to re-read the CustomObject from the dictionary after the DWG is loaded, I only get an "Autodesk.AutoCAD.DatabaseServices.ImpDBObject" from out of the dictionary, which i cannot cast to an "ObjectMap".
I haven't used wrapped Custom Objects this way before. Could I have done anything wrong? Can I retrieve my data from the ImpDBObject? Unfortunately, this isn't documented anywhere...
Cheers,
Alfred