.NET

.NET

Reply
Contributor
kerry.clouser
Posts: 20
Registered: ‎10-30-2007
Message 1 of 6 (797 Views)
Accepted Solution

Cannot embed interop type 'SymBBAuto.IAcadObjectEvents_Event'

797 Views, 5 Replies
05-30-2012 02:52 PM

I am attempting to rewrite a VBA program in VB.NET for AutoCAD Mechanical 2012, 64 bit, Windows 7 using Visual Studio 2010 Pro.  The program extracts Mechanical BOM data and exports it to a formatted Excel Bill of Material.  I have the following error that I cannot resolve:

 

Cannot embed interop type 'SymBBAuto.IAcadObjectEvents_Event' because the source interface 'Autodesk.AutoCAD.Interop.Common.IAcadObjectEvents' referenced by its ComEventInterfaceAttribute cannot be found.

 

There is no Line or Column referenced in the error list.  Clicking on the error does not expose the source or location of the error.  I have referenced AutoCAD 2012 Type Library, Mechanical 1.0 Type Library, GeAuto 2.0 Type Library, SymBBAuto 3.0 Type Library, and AutoCAD.Interop.Common, all as COM types, and AcDbMgd, AcMgd, and AutoCAD.Interop as .NET types.  I have declared SymBBAuto, Autodesk.AutoCAD.Interop, and Autodesk.AutoCAD.Interop.Common as Imports along with many other AutoCAD name