TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: BazzaCAD on April 21, 2016, 03:21:58 PM
-
AutoCAD 2015 SP2.
My code has been running fine for years with no issues, now all of a sudden I'm getting 2 different "AcRxClassName entry is not in the system registry" errors.
I've narrowed this down to 2 sections of code:
1) When Acad starts up I create some layer filters:
)
)
)
"ACAD_LAYERFILTERS"
"AcDbDictionary"
)
Here I get "error: Automation Error. AcRxClassName entry is not in the system registry" from vla-addobject.
The layer filters commands seem to run fine from the layer properties manager palette.
2) I have commands to draw MLeaders with a specific style, the code check to make sure the styles are already there & if not, creates them.
(setq newmldrstyle
(vlax-invoke mldrdict 'addobject
"BIGARROW" "AcDbMLeaderStyle"))
Here I get "error: AutoCAD.Application: AcRxClassName entry is not in the system registry" from vlax-invoke.
If I just type MLEADER it runs fine.
I've already re-installed Autocad from scratch.
Any other ideas?
-
Check registry branch:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\ActiveXCLSID]
"AcDbSortentsTable"="{5EB6721F-506E-4817-B3BF-A4902DDB21AE}"
"AcDbTableStyle"="{73157A89-ABE5-40A5-88E6-C0C94BC718C7}"
"AcDbMLeaderStyle"="{E2C1822C-791C-48BB-AFD0-00890DE860C1}"
"AcDbDictionary"="{8F61C491-AA22-4AB8-8B2D-E24B0AA4303D}"
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.1\ActiveXCLSID]
"AcDbSortentsTable"="{5EB6721F-506E-4817-B3BF-A4902DDB21AE}"
"AcDbTableStyle"="{73157A89-ABE5-40A5-88E6-C0C94BC718C7}"
"AcDbMLeaderStyle"="{E2C1822C-791C-48BB-AFD0-00890DE860C1}"
"AcDbDictionary"="{8F61C491-AA22-4AB8-8B2D-E24B0AA4303D}"
-
Thanks for the reply.
No I don't have any of those....
-
Thanks for the reply.
No I don't have any of those....
So save code in .reg file, import it and reboot Windows.
P.S.: The same problem was solved: http://forums.autodesk.com/t5/visual-basic-customization/autocad-2015-2016-create-new-tablestyle-method-throwing-error/td-p/6227306
-
So save code in .reg file, import it and reboot Windows.
P.S.: The same problem was solved: http://forums.autodesk.com/t5/visual-basic-customization/autocad-2015-2016-create-new-tablestyle-method-throwing-error/td-p/6227306
Yap that did it thanks.
I wonder what caused it to disappear...
-
Yap that did it thanks.
I wonder what caused it to disappear...
Did you do any AutoCAD 2017 Beta testing?
-
Did you do any AutoCAD 2017 Beta testing?
Yap. ;-(
-
Yeah, the uninstaller graciously wiped out the ObjectDBX entries for ALL installed versions instead of just the one it was uninstalling. There were many other entries in there....SheetSetManager, TableStyles, etc. I have a good REG file I exported after correcting all of the ones I have installed and lost.
-
Is it only in [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\ActiveXCLSID]
or are there other locations too?
I can get a reg from another machine.
-
Everything here should be added back from a good install:
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\]
Mine has 4 keys, each with multiple entries. I'm pretty sure that 2 of the keys are C3D related, the other one is SheetSetManager.