Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Icon images fail to re-load

Status
Not open for further replies.

cfee

Industrial
Apr 22, 2002
491
When I create a new Icon for a button macro, I save the image to a directory in my support file path, under "Properties" (C:\Program Files\ACAD 2002\Support).
At first they reloaded fine. They've since stopped reloading correctly at start-ups, giving only "Smileys".

Any suggestions?

Tks-
C. Fee
 
Replies continue below

Recommended for you

The old smiley problem...

This may help..

If you want to get more in depth, you can embed the images in dll files...

Try the Afralisp.com site for icons and dll embedding. The site is unavailable at the moment.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
BORGUNIT-

Thanks-
I'm sure the referenced article is useful, and I'll be looking into it later as time permits. But for now, I'm mindful that my 2000i at home (licensed!) doesn't have this problem. I'm able to create new Icons for new buttons, and as long as I store them in a directory on my files-management list in ACAD-properties, they re-load every time. Its disappointing but not unexepected, that such a simple process has since been "improved" to the point where something like the referenced article becomes even worth considering (all those unnecessary/necessary work-around steps-whew!). Oh well. I'm reminded of the Printer "improvements" of r11-to-r12, and the multiple-vports "improvements" to r-12/win. Oh well.
Thanks anyway-
C.Fee
 
cfee,

I've had this problem too, and at times it doesn't make sense why sometimes it doesn't work right. The smiley of course means AutoCad can't find the icon file. In general what you need to do is not only put the icon directory in the search path, which you are doing, but also move the directory to the top of the search list. It's good to make notes of settings before you start changing things in case you need to back out of it.

I haven't checked out the link that borgunit suggested but will later. I have heard that this is a bug.

Regards,
-Mike
 
The problem is AutoCAD does not look for the name you give the icon, it looks for a filename that it gives it on the fly, like icon4536.bmp or something like that. The menu files can get recompiled whenever you make changes to a menu or toolbar. Then AutoCAD gets mixed up and cannot find the icon, unless it is "hardcoded" in the mnu or mns files. If you write in the the name that you give it in the mns/mnu files, it should remember it then.

"Everybody is ignorant, only on different subjects." — Will Rogers
 
borgunit,

That's a good point, it can be a real headache to find those icons sometimes.

I try to do all my customization in my own mns file and not in the mnu or mns that AutoCAD or LT uses. This makes it easier to move my menus and toolbars from version to version, or PC to PC, etc. I put this menu and all it's related icons in a separate directory. Even if I use a standard AutoCad icon I resave it (using the icon editor) with my own naming convention to avoid conflicts, and the icons are called by name in the mns file.

The final touch to this is putting my directory in the search path and placing it at the top of the list, as I mentioned in my original post. I don't know if many people want to do all this work, but I have found it to be a reliable way to keep things working.

Regards,
-Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor