Does anybody here knows what is happening to the symbbauto library in the new version of Autocad Mechanical 2013?
I saw that there is a new version called "Autodesk SymBBAuto 4.0 Type Library" and it does not work for the code below. I have also tryed the old version "Autodesk SymBBAuto 3.0 Type Library" but it only works on ACADM 2012.
Dim symbb As McadSymbolBBMgr
Set symbb = ThisDrawing.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
I got a message when accessing the second line:
Run-time error '-2147221231 (80040111)': Problem in loading application
The library of version 4.0 also does not work on ACADM 2012.
Solved! Go to Solution.
Solved by lifei. Go to Solution.
dimitri,
You can use it like:
Set symbb = ThisDrawing.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr.4")
This is because you have other version of ACADM installed in the same machine, you have to specify the interface version.
Li Fei
SQA Engineer
Autodesk
Thanks Li Fei
I really have these 2 versions installed, but Autocad Mechanical 2012 runs perfectly with the code as is.
But following your suggestion worked fine.
Regards
Hi All, I am relatively new to the whole autocad thing but when i try to load the above I get the below error
Retrieving the COM class factory for component with CLSID {4E220EE2-83AA-463A-A940-AAAEC68C3E67} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).
This si a view of my registry editor
I have executed symbbautoreg.exe multiple times but it kind of does nothing at all and even though I am able to see the entries in my registry editor. I am unable to execute the below code due to runtime exception:
I have symBBAuto.dll addded in my project with embed = true and isolated = false. Can some oen please suggest what else can i do to rectify this... Are there any other dlls I am missing. I have the following other dlls added
yes autocad version 2020 , system architecture 64 bit and I am unable to register the dll, clicking on the exe does not do anything at all.
Normally it is not necessary to register manually.
Have you tried to build one of the samples from acadmapi to check if your programming environment is okay ?
For example try to build:
regards
Markus