.NET

Reply
Contributor
phives
Posts: 22
Registered: ‎08-25-2012
Message 1 of 3 (308 Views)

Autodesk.AutoCAD.DatabaseServices.ObjectId not defined

308 Views, 2 Replies
08-25-2012 01:38 PM

VB keeps telling me that this is not defined. What do I need to add to my project so this will work?

 

i tried these imports. But my project does not recognize them.

 

Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.EditorInput
Imports Autodesk.AutoCAD.Geometry
Imports Autodesk.AutoCAD.Runtime

*Expert Elite*
Alfred.NESWADBA
Posts: 9,401
Registered: ‎06-29-2007
Message 2 of 3 (305 Views)

Re: Autodesk.AutoCAD.DatabaseServices.ObjectId not defined

08-25-2012 01:46 PM in reply to: phives

Hi,

 

have you added the acdbmgd.dll (for the right AutoCAD-version) to your project-references?

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Contributor
phives
Posts: 22
Registered: ‎08-25-2012
Message 3 of 3 (301 Views)

Re: Autodesk.AutoCAD.DatabaseServices.ObjectId not defined

08-25-2012 01:54 PM in reply to: Alfred.NESWADBA

That did it. Thanks.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!