Hello,
I can get the database from the document using
Document oDoc = Application.DocumentManager.MdiActiveDocument;
Database oDb = oDoc.Database
I can get the database from a database resistent entity using
Entity oEnt;
Database oDb = oEnt.Database;
But how can I get the document where the entity was created in?
In VisualLisp there was a (vla-get-document oLine);
Thanks and regards,
Fred