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

error creating extension dictionary

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
549 Views, 5 Replies

error creating extension dictionary

Autodesk.Aec.DatabaseServices.DbObject.CreateExtensionDictionary()

my code crashes ABS '07,
when it hits the line:

MyDbObject.CreateExtensionDictionary()

Can anyone offer any help?
(code snip below...)
Dim MyDbObject as Autodesk.Aec.DatabaseServices.DBObject

Dim ExtensionDictId As Autodesk.AutoCAD.DatabaseServices.ObjectId

ExtensionDictId = MyDbObject.ExtensionDictionary()

If ExtensionDictId.IsValid = False Then 'no extension dictionary present

MyDbObject.CreateExtensionDictionary()

End If
5 REPLIES 5
Message 2 of 6
smcclure
in reply to: Anonymous

What is the exception/error?

- Scott
Message 3 of 6
Anonymous
in reply to: Anonymous

smcclure wrote:
> What is the exception/error?

I dunno.

it never makes it to my Try>Catch...

just bombs-out.
Message 4 of 6
smcclure
in reply to: Anonymous

bombs-out = AutoCAD closes?
Message 5 of 6
Anonymous
in reply to: Anonymous

smcclure wrote:
> bombs-out = AutoCAD closes?

yes.

AutoCAD Error Aborting
INTERNAL ERROR: !dbobji.cpp@6593: eNotOpenForWrite
Message 6 of 6
Anonymous
in reply to: Anonymous

Corey A. Layton wrote:
> eNotOpenForWrite

well,
that answered my question.

forgot to OpenMode.ForWrite; MyDbObject...

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