Change RGB colors to Autocad Index Values

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I will apologize right away because I know there are other posts similar to this out there, however, I just can't seem to get them to work. Here is what I am attempting:
I am importing files from another cad system with specific RGB colors. In the other cad system, I set up specific RGB colors according to the ACI color chart. I want to convert the RGB colors to the ACI Colors that I intentionally set up. I then set up a command that would pick these ACI colors, and change the layer properties. My intent is to be able to have a simple conversion of colors to appropriate layers. The problem I'm having is that using the different conversion lisp files I've found, they don't seem to match the colors on the ACI color chart. They'll be off by 2 here and there. The other issue, I'm not great at setting up lisp files, I can load them, and run them, but there's no debugging done by this guy. 😞 Does anyone have a routine that I can use that will truly convert the RGB colors to specific ACI colors? I've spent quite a bit of time setting up the colors in the other program only to find that the conversion is close, but not close enough. Please help!
Here are some of the links that I've used...and maybe I've just used them wrong, but I'm not sure what I'm doing wrong.
https://forums.autodesk.com/t5/net/convert-autocad-color-index-to-from-argb/m-p/6420308#M49255
I apologize in advance for not getting this myself, I've just come to a point where I need my hand held through it!