AutoCAD Mechanical Forum
Welcome to Autodesk’s AutoCAD Mechanical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Mechanical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autodesk SymBBAuto 3.0 Type Library

5 REPLIES 5
Reply
Message 1 of 6
mastertool
2030 Views, 5 Replies

Autodesk SymBBAuto 3.0 Type Library

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.

 

5 REPLIES 5
Message 2 of 6
FRFR1426
in reply to: mastertool

I've got the same problem with AM 2013.

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
Message 3 of 6
dimitri
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...

 

 

Message 4 of 6
FRFR1426
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...

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
Message 5 of 6
lifei
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

Message 6 of 6
dimitri
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost