CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

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    14239×  

See also:
Tip 14753:Overview of startup parameters for acad.exe and acadlt.exe (runstring)
Tip 14604:QRcode - dynamically generated QR codes in AutoCAD.
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?


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:
Revit plugins for automating data management, opening creation for clashes, and documentation Be.Smart Core Collection 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