Author Topic: Icon for AutoCAD command  (Read 7471 times)

0 Members and 1 Guest are viewing this topic.


Lupo76

  • Bull Frog
  • Posts: 343
Re: Icon for AutoCAD command
« Reply #16 on: April 15, 2015, 09:52:22 AM »
how have you resolved?

I apologize if I did not answer.
I solved the problem bypassing.
I created 2 sets of icons, for the two themes of AutoCAD.
I maintained then 2 *.BMP file for each icon, I have not done the DLL
So according to the variable COLORTHEME I decided to copy (via code lisp) files *.BMP correct.
It is not a very clean solution but it works.


Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1453
  • Marco
Re: Icon for AutoCAD command
« Reply #17 on: April 15, 2015, 09:58:11 AM »
I tried the solution with (vla-setbitmaps button bitmap bitmap) but I had some strange results with the menu. For the moment I have not tried other solutions...
Thanks.

Lupo76

  • Bull Frog
  • Posts: 343
Re: Icon for AutoCAD command
« Reply #18 on: April 16, 2015, 09:54:52 PM »
I tried the solution with (vla-setbitmaps button bitmap bitmap) but I had some strange results with the menu. For the moment I have not tried other solutions...
Thanks.

I used vl-file-copy to overwrite the file icon and then ask the user to reboot the cad.

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1453
  • Marco
Re: Icon for AutoCAD command
« Reply #19 on: April 17, 2015, 04:05:33 AM »
I used vl-file-copy to overwrite the file icon and then ask the user to reboot the cad.
I need a temporary faster method without recompiling the menu... the original icons should appear when I open a new DWG.