AutoCAD Mechanical General

Reply
Member
mastertool
Posts: 5
Registered: ‎09-30-2009
Message 1 of 6 (806 Views)

Autodesk SymBBAuto 3.0 Type Library

806 Views, 5 Replies
08-12-2010 08:48 AM

Have a big problem with Autocad Mechanical 2011 VBA.

I get a Runtime error (Problem in  loading application.)

Here is the code:

 

Dim symbb As McadSymbolBBMgr

Set symbb = Thisdrawing.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")

 

The SymBBAuto fails to load. Has anyone have the same problem?

Looking for any comments and/or fixes on this problem in Autodesk SymBBAuto 3.0 Type Library.

 

Valued Contributor
FRFR1426
Posts: 71
Registered: ‎04-05-2012
Message 2 of 6 (439 Views)

Re: Autodesk SymBBAuto 3.0 Type Library

05-03-2012 06:02 AM in reply to: mastertool

I've got the same problem with AM 2013.

Contributor
dimitri
Posts: 22
Registered: ‎07-12-2012
Message 3 of 6 (405 Views)

Re: Autodesk SymBBAuto 3.0 Type Library

07-12-2012 09:33 AM in reply to: FRFR1426

did you solve this problem? 

Please see

http://forums.autodesk.com/t5/AutoCAD-Mechanical/SymBBAuto-x-ACADM-2013-VBA/td-p/3536186

I have the same issue...

 

 

Valued Contributor
FRFR1426
Posts: 71
Registered: ‎04-05-2012
Message 4 of 6 (395 Views)

Re: Autodesk SymBBAuto 3.0 Type Library

07-12-2012 11:59 PM in reply to: mastertool

Yes, I've solved my problem, but unfortunately I don't remember how and I'm not able to find something about that in my notes.

 

But in my final code, I'm using :

 

Dim symMgr As New McadSymbolBBMgr



instead of :

 

Dim symbb As McadSymbolBBMgr

Set symbb = Thisdrawing.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")

 

I'm using Interop.SymBBAuto 3.0 with Embed Interop Types at true and Isolate at false.

 

Also if you want to run your app on x86 and x64, you have to change the guid of the reference in your .vbproj file :

 

{71477CDD-CA02-4842-98C7-7141520E7D70} for x64

 

and

 

{4A193255-4AC6-4E04-9DE7-B041C5B216D4} for x86

 

It is a misery, as always with COM...

Employee
lifei
Posts: 5
Registered: ‎12-17-2004
Message 5 of 6 (391 Views)

Re: Autodesk SymBBAuto 3.0 Type Library

07-13-2012 01:53 AM in reply to: FRFR1426

FRFR1426:

please read my reply in

http://forums.autodesk.com/t5/AutoCAD-Mechanical/S​ymBBAuto-x-ACADM-2013-VBA/td-p/3536186

it might help you.

 

Li Fei

SQA Engineer

Autodesk

Contributor
dimitri
Posts: 22
Registered: ‎07-12-2012
Message 6 of 6 (386 Views)

Re: Autodesk SymBBAuto 3.0 Type Library

07-13-2012 12:22 PM in reply to: FRFR1426

hi FRFR1426

 

Many thanks for your tip.

 

I tried also the tip from Li Fei and it worked very well on ACADM 2013 ! But some other conversions were needed, now we are able to migrate.

 

Regards

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