"AcRxClassName" entry is not in the System Registry.

"AcRxClassName" entry is not in the System Registry.

Anonymous
Not applicable
3,962 Views
10 Replies
Message 1 of 11

"AcRxClassName" entry is not in the System Registry.

Anonymous
Not applicable
I'm getting this error in the AddObject method (for Dictionaries).

The "AcRxClassName" String that I'm using in the method,
is not custom,
and is derived from an actual AecObject in the dwg:
(via .ObjectName from a similar Extension Dictionary)

"AecDbDispPropsWallSchem"

so,
why am I getting this error?

Thanks...
0 Likes
3,963 Views
10 Replies
Replies (10)
Message 2 of 11

Anonymous
Not applicable
I have the same problem trying to add a table Object to the TableStyle
Dictionary, I supose this
problem has something to do with a prior instalation of AutoCAD 2007 Beta.

I uninstalled the Beta Program and now I have this issue, hope not to have
to reinstall the program

Saludos

Marco Jacinto


"Corey A. Layton" escribió en el mensaje
news:5186161@discussion.autodesk.com...
I'm getting this error in the AddObject method (for Dictionaries).

The "AcRxClassName" String that I'm using in the method,
is not custom,
and is derived from an actual AecObject in the dwg:
(via .ObjectName from a similar Extension Dictionary)

"AecDbDispPropsWallSchem"

so,
why am I getting this error?

Thanks...
0 Likes
Message 3 of 11

Anonymous
Not applicable
Marco Jacinto wrote:
> I supose this
> problem has something to do with a prior instalation of AutoCAD 2007
> Beta.

no beta (ever) here...
0 Likes
Message 4 of 11

Anonymous
Not applicable
Corey A. Layton wrote:
> no beta (ever) here...

I *do* still have '06 installed.
Could that be the problem?
0 Likes
Message 5 of 11

Anonymous
Not applicable
Actually i'm using '06 and uninstalled and not using '07

Maybe reinstalling should do the trick

"Corey A. Layton" escribió en el mensaje
news:5186334@discussion.autodesk.com...
Corey A. Layton wrote:
> no beta (ever) here...

I *do* still have '06 installed.
Could that be the problem?
0 Likes
Message 6 of 11

Anonymous
Not applicable
The AcRxClassName and the associated CLSID must be in
the registry at the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R16.2\ActiveXCLSID

(note the 'R16.2' is for 2006 only).

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

"Corey A. Layton" wrote in message news:5186161@discussion.autodesk.com...
I'm getting this error in the AddObject method (for Dictionaries).

The "AcRxClassName" String that I'm using in the method,
is not custom,
and is derived from an actual AecObject in the dwg:
(via .ObjectName from a similar Extension Dictionary)

"AecDbDispPropsWallSchem"

so,
why am I getting this error?

Thanks...
Message 7 of 11

Anonymous
Not applicable
Tony Tanzillo wrote:
> The AcRxClassName and the associated CLSID must be in
> the registry at the following location:

Hi Tony.

Thanks for the hint.

So,
If an extension dictionary has an Object that is not in this registry
listing,
how does it exist?

In my case, where I'm attempting to create an extension dictionary Object
for an AEC Style ('A') that is identical in structure to another Style ('B')
that has the dictionary; how can I accomplish this?

Can I create the extension dictionary Object as a generic 'AcDbDictionary',
and then try and use the Replace method, using Style 'B' Extension
Dictionary Object as the "newCustomObject"?

dictObj.Replace keyName, newCustomObject

or do I need to 'LoadARX' a file somewhere?
How to determine which one?

any further direction that you can give would be greatly appreciated.

Take Care,
Corey
0 Likes
Message 8 of 11

Anonymous
Not applicable
Corey A. Layton wrote:
> Can I create the extension dictionary Object as a generic
> 'AcDbDictionary', and then try and use the Replace method, using
> Style 'B' Extension Dictionary Object as the "newCustomObject"?
>
> dictObj.Replace keyName, newCustomObject

Ok, that works...

no need to use the AddObject method first.

Just use the Replace method,
and it *creates* the Object ,
if it doesn't exist in the Dictionary yet...
0 Likes
Message 9 of 11

Anonymous
Not applicable
>> So, If an extension dictionary has an Object that is not
>> in this registry listing, how does it exist?

The registry entry only tells AutoCAD what COM object is
associated with the given ObjectARX class or object type.

It is so that you can create an instance of a given object
type along with its COM wrapper, by specifying only the
ARX class name.

Custom objects and some built-in ones like AcadDictionary
do not require an entry in this registry location to exist
in a drawing, the registry entries only to permit AutoCAD to
create them and their COM wrappers in one swell foop.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
0 Likes
Message 10 of 11

Koki4
Enthusiast
Enthusiast

You are a star,

I have a coordinates table creator lisp that Ive been using since AutoCAd 2012, Now on 2022 is working but on 2021 stopped with this error, First time ever I experienced this issue.

Saving the Registry key from the 24.1 and just renaming the path to 24.0 or 23.1 or 23.0 sorted it instantly,

I wonder why Active XCLSID was missing at all for the previous versions??

0 Likes
Message 11 of 11

Julio_Soto
Advisor
Advisor

I just want to add my results. 

For some reason in one of our user's installation (2023), this entire registry entry was missing

Julio_Soto_1-1682523359728.png

 

 

I just recreated it using info from another install. This fixed my automation error.