CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 3210 

CAD tip CAD tip # 11714:

Question CAD 
 %  platform  category 
Q - question

How to assign a RAL color to a DWG object and get its ACI equivalent?

A - answer Both AutoCAD and AutoCAD LT offer to assign not only indexed colors (256 ACI color hues) but also full RGB colors (truecolor) and colors from so called "color books", ao. Pantone and RAL palettes or palettes by specific product manufacturers.

You can assign a RAL hue using the COLOR dialog, resp. through the ribbon - the option "More Colors":

In the dialog "Select Color" then switch to the tab "Color Books" and select the book "RAL CLASSIC" or "RAL DESIGN" or "RAL EI EFFECT":

Objects are assigned a specific RAL color and the respective RGB hue.

If you want to find a visually similar indexed ACI color, select the object with assigned RAL (or Pantone, or RGB) color on the prompt of this LISP function - type or paste it on AutoCAD command line:

(cdr(assoc 62 (entget(car(entsel)))))

The returned number equals to the ACI color.

In AutoCAD LT, you can convert the color using a trick - save the selected object to the DXF R12 format (WBLOCK or SAVEAS) and then read it back (DXFIN). The reloaded object will now have only the ACI color (the nearest).

100% *  CAD 
4.12.2017    5632×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT · ACLT ·

See also:
Tip 11831:Using the Pantone colors (palette) for your models in Fusion 360.
Tip 10204:How to attach an .AdskLib material library in AutoCAD?
Tip 6361:Direct entry of a Pantone color hue for AutoCAD entities.
Tip 4498:Can I use RAL color palettes in AutoCAD?
Tip 4497:How to set RAL or Pantone color hue in Inventor?

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.