AutoCAD.AcCmColor.18 not registered

AutoCAD.AcCmColor.18 not registered

Anonymous
Not applicable
994 Views
1 Reply
Message 1 of 2

AutoCAD.AcCmColor.18 not registered

Anonymous
Not applicable

My VBA stopped working on the following statement:

 

Dim RGB_Color As New AcadAcCmColor

 References to RGB_Color showed it to be Null.  Other posts referred me to a problem on 64-bit machines indicating I shoud add the following:

Set RGB_Color = GetInterfaceObject("AutoCAD.AcCmColor.18")

 However, that fails because AutoCAD.AcCmColor.18 is not in the registry.

 

My installation is AutoCAD Map 3D 2011.  How can I get that registered?

0 Likes
995 Views
1 Reply
Reply (1)
Message 2 of 2

tomhurns
Enthusiast
Enthusiast

Best thing is to simply reinstall your Map 3d 2011... One thing to watch out for, if you have multiple versions on the same system then be careful to install them in version order - I've come unstuck before with that.

 

Tom

0 Likes