CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.085.000 registered users (EN+CZ). Try the new Engineering calculator, the CAD conversion wizard, the Color converter and USD viewer. Learn about twiGIS.

CAD tip CAD tip # 6546:

Question

CAD 
 %  platform  category 
A
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.

ACAD2009ACAD2008ACLTADT
100% *CAD
24.2.2009    13752×  

See also:
Tip 14006:Universal MsgBox in AutoLISP.
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.


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
  



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


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