CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3169

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).

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

See also:
Tip 12833:RAL color library (palette) for Fusion 360 (plus BS, AS, NCS).
Tip 11831:Using the Pantone or RAL 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?


Back   All CAD Tips



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   



Featuring:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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.
TOPlist