Bellow is my answer of similar question several days ago. Only thing I will
add is that the difference between SAVE AS and SAVE buttons is this:
SAVE AS - allow you to save as bmp. file (if you already have it, you don't
have to use this)
SAVE - AutoCAD saves a COPY of this picture for his own purposes. You HAVE
to click this in order to use the picture (no matter if you created it or
loaded it from file). From this point AutoCAD using his copy. And this is
where the mess starts. See below.
This is because AutoCAD saves the picture as *.bmp files with just
a number for name and sometimes they are on different folders (one in
Express folder other in Support folder - depend in which toolbar you placed
it) but with the same name/number. To avoid this:
1. Save As the icon picture somewhere. Click Save too.
Generally this should be enough, but I had some problems even after this
point, so my suggestion is to go further with
2. Open acad.mns file (found in C:\Documents and Settings\<user
name>\Application Data\Autodesk\AutoCAD 2004\R16.0\enu\Support) and open it
with notepad.
Find your button (make search for the name you given to it). The row should
look something like this:
ID_UserButton_17 [_Button("User Defined Button", "RCDA8467.bmp",
"RCDATA_16_BLANK")]^C^C<your macro here>
Replace the *.bmp picture name (in this example RCDA8467.bmp) with the
picture name you had given to the icon when did Save As. Close the file.
Generally avoid placing custom buttons in Express toolbars.
Hope this will help.
John
bthatcher said:
When creating new toolbar buttons and assigning existing bitmaps from the
customize dialog, button properties tab, edit button image option, you can
open and browse to the icon you want. From this point what is the intended
way to assign it to that button. I don't want to 'Save as..', i have
already created it and saved it where i want. And 'Save' seems to be the
only other option. However it renames it and puts it where ever it wants.
Sometimes in the directory with the original, sometimes not. And none of my
original bitmap names are used in the .MNS file. Am I missing somthing? This
has been an issue for my since at least R14 and was hoping it would work
better by now.