• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Mechanical

    Reply
    Member
    Posts: 5
    Registered: ‎09-30-2009

    Autodesk SymBBAuto 3.0 Type Library

    591 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.

     

    Please use plain text.
    Active Contributor
    Posts: 29
    Registered: ‎04-05-2012

    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.

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎07-12-2012

    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...

     

     

    Please use plain text.
    Active Contributor
    Posts: 29
    Registered: ‎04-05-2012

    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...

    Please use plain text.
    Employee
    Posts: 5
    Registered: ‎12-17-2004

    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

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎07-12-2012

    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

    Please use plain text.