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

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

5 REPLIES 5
Reply
Message 1 of 6
Petter
4681 Views, 5 Replies

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

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.
5 REPLIES 5
Message 2 of 6
Anonymous
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.
Message 3 of 6
Petter
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
Message 4 of 6
Anonymous
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
Message 5 of 6
Petter
in reply to: Petter

CopyLocal is set to true.
Message 6 of 6
Petter
in reply to: Petter

Correction.
When woring CopyLocal was set to False.
When failure CopyLocal has changed to True.

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