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.
I've got the same problem with AM 2013.
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...
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...
FRFR1426:
please read my reply in
http://forums.autodesk.com/t5/AutoCAD-Mechanical/SymBBAuto-x-ACADM-2013-VBA/td-p/3536186
it might help you.
Li Fei
SQA Engineer
Autodesk
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.