Assign Name to Numbered color in Autocad Color Index (ACI)

Assign Name to Numbered color in Autocad Color Index (ACI)

titus_CAD
Participant Participant
2,100 Views
9 Replies
Message 1 of 10

Assign Name to Numbered color in Autocad Color Index (ACI)

titus_CAD
Participant
Participant

Hello,

 

The first seven colors in the ACI are named (red, yellow, green, etc). They are also associated with an index number (red=1, yellow=2, green=3, etc). So, if I want to change the color of an object or layer, I can type in "red" or "1" in the "Select Color" dialog box and get the same result (see photo).

Is there a way to assign a name to colors 8-255? Obviously, I wouldn't do ALL of those colors. But maybe just a few more that I commonly use, such as color 8. I could name that to "Gray."

Is there a way to do this?

 

TitusCY8RC_0-1680194980697.png

 

0 Likes
Accepted solutions (2)
2,101 Views
9 Replies
Replies (9)
Message 2 of 10

Kent1Cooper
Consultant
Consultant
Accepted solution

I don't think there's a way to do that in the dialog box.  You could do it in something like an AutoLisp routine for assigning colors, using something like a list associating your names with the appropriate index numbers, or even with TrueColor values.

 

[But who says color 8 should be "Gray," when there are numerous shades of gray in the system?]

Kent Cooper, AIA
Message 3 of 10

paullimapa
Mentor
Mentor

And then you’ll have to consider the various ways to spell it

https://www.rd.com/article/grey-vs-gray-which-is-correct/


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 10

titus_CAD
Participant
Participant

Gotcha, so in other words, there is no text file stored somewhere on my computer that I can go in and edit that stores the information for these colors?

(I am ignoring your comment and any further comments on how the colors should/shouldn't be named - waste of time)

0 Likes
Message 5 of 10

Sea-Haven
Mentor
Mentor
Accepted solution

The 1-8 colors are more than likely a hang up from the days of drafting ink pens the color indicated its thickness, we used those 1-8 as implied for thickness, you have to remember that Autocad started back in the days of manual drafting. Some stuff is still in Autocad from day 1 but is really not needed anymore. Some functions have been removed same as colors using names may 1 day be removed.

Message 6 of 10

titus_CAD
Participant
Participant
Thanks!
0 Likes
Message 7 of 10

komondormrex
Mentor
Mentor

however help tells that colors numbered 1 to 9 have to have their names)

 

0 Likes
Message 8 of 10

paullimapa
Mentor
Mentor

Of course another section of the help file contradicts that

https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-14BC039D-238D-4D9E-921B-F4015F96CB54

and since there is no known names for colors 8 & 9 that should tell you which section is correct 

paulli_apa_0-1680248677072.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 9 of 10

komondormrex
Mentor
Mentor

i wonder if they get it fixed ever) 

0 Likes
Message 10 of 10

ВeekeeCZ
Consultant
Consultant

@komondormrex wrote:

i wonder if they get it fixed ever) 


 

 

So tell them and watch.

 

eekeeCZ_0-1680251658787.png