CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 8803

CAD tip CAD tip # 6546:

Question CAD 
 %  platform  category 
Q - question

How to set transparent color for my own AutoCAD icons?

A - answer If you need to create a partially "transparent" toolbar icons, you cannot use standard ways of PNG format with alpha-channel or transparent GIF files - AutoCAD (up to 2014) supports only icons in the BMP format which doesn't work with transparency.

But you can use a trick - the color with the hue of 192-192-192 (RGB) used in BMP icons is interpreted by AutoCAD as "transparent". Since 2015 you can use PNG icons with transparency. Since 2017 the 192,192,192-trick doesn't work anymore and PNG is the only option for transparent icons.

100% *  CAD 
24.2.2009    13232×  
Prices - CAD eShop:

See also:
Tip 13822:Fast layer visibility toggle ON/OFF.
Tip 13504:How to add own commands to AutoCAD custom palette?
Tip 13459:DWG drawing version history directly in AutoCAD.
Tip 10808:How to make transparent icons for my CUI ribbon in AutoCAD 2017.
Tip 10204:How to attach an .AdskLib material library 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   

Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info

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