.NET

Reply
Contributor
Petter
Posts: 21
Registered: ‎12-09-2003
Message 1 of 6 (1,150 Views)

AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

1150 Views, 5 Replies
01-11-2006 08:30 AM
I have Autodesk Inventor Professional witch include Mechanical Desktop and AutoCAD, Vault 4.0 and Visual Studio .NET 2003 where I use Visual Basic.

When I start or update Inventor my Autocad reference library AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted. If I reinstall Mechanical Desktop the library gets corrected and I can continue to code against Autocad. But I have got quite tired of it by now. Can someone please explain.

Petter.
*Tony Tanzillo
Message 2 of 6 (1,150 Views)

Re: AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

01-11-2006 09:30 AM in reply to: Petter
Can you be more specific than 'gets corrupted' ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5056167@discussion.autodesk.com...
I have Autodesk Inventor Professional witch include Mechanical Desktop and AutoCAD, Vault 4.0 and Visual Studio .NET 2003 where I use Visual Basic.

When I start or update Inventor my Autocad reference library AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted. If I reinstall Mechanical Desktop the library gets corrected and I can continue to code against Autocad. But I have got quite tired of it by now. Can someone please explain.

Petter.
Contributor
Petter
Posts: 21
Registered: ‎12-09-2003
Message 3 of 6 (1,150 Views)

Re: AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

01-12-2006 05:28 AM in reply to: Petter
I have a project in .Net and under references I have attached the library AXDBLib. If I start Inventor and then open the .NET project the AXDBLib has got a yellow mark on it in the solution explorer. And under property AXDBLib has no connections. Now I can remove AXDBLib and add the reference again. But now it won’t work. The line

Imports Autodesk.AutoCAD.Interop.Common

is not valid anymore, and all commands under this library fails. The library now refers to another path (see below).

When working:
Identity: {C295FFF9-3572-4ED2-9E42-0DAADB8D93EE}\1.0\0\primary
Path: C:\WINDOWS\assembly\GAC\Autodesk.AutoCAD.Interop.Common\16.2.54.0__eed84259d7cbf30b\Autodesk.AutoCAD.Interop.Common.dll

When not working:
Identity: {C295FFF9-3572-4ED2-9E42-0DAADB8D93EE}\1.0\0\tlbimp
Path: C:\VB .NET 2003\Autodesk\Autocad\PmCadCommands\pmCadCommandsDebug\obj\Interop.AXDBLib.dll
*Tony Tanzillo
Message 4 of 6 (1,150 Views)

Re: AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

01-12-2006 08:48 AM in reply to: Petter
In Solution Explorer, select AxDBLib.

In the properties window, what is the CopyLocal property set to?


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5057074@discussion.autodesk.com...
I have a project in .Net and under references I have attached the library AXDBLib. If I start Inventor and then open the .NET project the AXDBLib has got a yellow mark on it in the solution explorer. And under property AXDBLib has no connections. Now I can remove AXDBLib and add the reference again. But now it won’t work. The line

Imports Autodesk.AutoCAD.Interop.Common

is not valid anymore, and all commands under this library fails. The library now refers to another path (see
below).

When working:
Identity: {C295FFF9-3572-4ED2-9E42-0DAADB8D93EE}\1.0\0\primary
Path: C:\WINDOWS\assembly\GAC\Autodesk.AutoCAD.Interop.Common\16.2.54.0__eed84259d7cbf30b\Autodesk.AutoCAD.Interop.Common.dll

When not working:
Identity: {C295FFF9-3572-4ED2-9E42-0DAADB8D93EE}\1.0\0\tlbimp
Path: C:\VB .NET 2003\Autodesk\Autocad\PmCadCommands\pmCadCommandsDebug\obj\Interop.AXDBLib.dll
Contributor
Petter
Posts: 21
Registered: ‎12-09-2003
Message 5 of 6 (1,150 Views)

Re: AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

01-13-2006 01:49 AM in reply to: Petter
CopyLocal is set to true.
Contributor
Petter
Posts: 21
Registered: ‎12-09-2003
Message 6 of 6 (1,150 Views)

Re: AXDBLib (ObjectDBX Common 16.0 Type Library) gets corrupted by Inventor

01-13-2006 05:01 AM in reply to: Petter
Correction.
When woring CopyLocal was set to False.
When failure CopyLocal has changed to True.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community