CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2453 

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    436×  
Comments   Tell a friend
applies to: AutoCAD · AutoCAD LT · ACLT ·

See also:
Tip 11391:Which file formats to use to bring a 3D model into Paint 3D?
Tip 10303:Overview of CAD formats supported in Inventor 2016 (import/export).
Tip 10204:How to attach an .AdskLib material library in AutoCAD?
Tip 10167:Keyboard shortcuts in Autodesk Fusion 360.
Tip 9778:Overview of CAD formats supported in Inventor 2015 (import/export).


Back   All CAD Tips All CAD tips&tricks

How to export unfolded sheetmetal parts in Fusion 360? « | » How to convert texts to block attributes (references)?

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:
Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2015 More info


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