×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Icon images fail to re-load

Icon images fail to re-load

Icon images fail to re-load

(OP)
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

RE: Icon images fail to re-load

The old smiley problem...

This may help..
http://www.markcad.com/autocad/acadtoolbars.htm

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

RE: Icon images fail to re-load

(OP)
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

RE: Icon images fail to re-load

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

RE: Icon images fail to re-load

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

RE: Icon images fail to re-load

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources