PDA

View Full Version : Installing 2002 on new computer. Which files?



Gregg Kuljian
26th Jul 2007, 05:23 am
I'm faced with setting up Autocad 2002 on my new computer. I have custom bitmaps for a custom toolbar I created. I'd like to know what files or folders I should be moving to the new machine in order to keep the toolbar work I did.

And any other advice on what to bring over to the new computer that a fresh install may not accomplish.

THANKS,

Gregg

ReMark
26th Jul 2007, 11:15 am
I believe the files you are asking about would end with the extensions .mns and .mnc. Just rename the original AutoCAD files to something like original_acad.mns and original_acad.mnc.

Gregg Kuljian
26th Jul 2007, 04:40 pm
Now I have the problem of the toolbar with the smiley faces for the custom bitmaps I created.

At least I'm making progress. But I'm not coming up with solutions to restore or load the bitmap files.

Any ideas?

Thanks.

SLW210
26th Jul 2007, 04:47 pm
Try putting them in the support directory. If they will not load automatically, then load them individually. Customize>Toolbars. When you select a button it should open 'Button Properties' window. Select 'Edit', then 'OPEN' and browse to the BMP.

Gregg Kuljian
26th Jul 2007, 05:05 pm
I found it.

I had to go into the folder that contained the custom bmps and delete the mnc and mnr menu files. Then the toolbar worked. Damn, not an easy task.

http://management.cadalyst.com/cadman/article/articleDetail.jsp?id=101148
Toolbar templates - CAD Management

Gregg Kuljian
24th Sep 2007, 07:15 pm
OK, I'm totally confused.

I just opened Autocad, and for some reason my toolbar no longer exists.

I've read the article again on how to create a custom menu, and there is no way I had to do all of that work last time, when I had my custom menu working.

Can someone tell me how to create a custom menu given I already have my icon bitmaps all stored properly in the /custom directory?

SLW210
24th Sep 2007, 07:19 pm
OK, I'm totally confused.

I just opened Autocad, and for some reason my toolbar no longer exists.

I've read the article again on how to create a custom menu, and there is no way I had to do all of that work last time, when I had my custom menu working.

Can someone tell me how to create a custom menu given I already have my icon bitmaps all stored properly in the /custom directory?

Tools>Customize>Toolbars

Gregg Kuljian
24th Sep 2007, 07:23 pm
It's not even showing the directory I have my custom bitmaps in. If it were that easy, I'd have done it already.

I have my search path set to look in the "custom" directory. And I've tried the menuload command.

I can't believe I'm unable to bring it up.

And also, do I have to have a file that creates a lisp program to invoke this menu command each time the program starts?

Sheesh. This is nuts. I remember it being fairly simple last time. My post indicates that I had to delete some files. I've done that, and this time I'm having no luck.

SLW210
24th Sep 2007, 07:28 pm
Do you have the path set in Tool>Options>Files>Support File Search Path?

Gregg Kuljian
24th Sep 2007, 07:32 pm
Yes. It is.

SLW210
24th Sep 2007, 07:33 pm
I am at a lose for anything else right now. Let me give it some thought.

:?:?:?

Gregg Kuljian
24th Sep 2007, 07:36 pm
Thanks. I appreciate it. I just wasted a morning on this. I thought it was trivially simple.

If you read my link, it appears to be a fairly complex job. But I swear I've done this without much hassle.

Gregg Kuljian
24th Sep 2007, 11:22 pm
Well, for my own reference, I'll post what happened. Not that it's anything profound.

I had to go to my other computer and copy Custom.mns over to my /support/custom directory. Then do the menuload command. But even then for some reason my computer wasn't recognizing a few of my bitmaps. I could preview them, but no go. So I also copied those all over again.

For some reason all of this work I did just vaporized, necessitating doing all of this over again. I am now back to about where I was. Phew.

hazardman
25th Sep 2007, 12:24 am
in your "custom" folder you sould have the following (copied from the other computer):

1) customtoolbar.mnu
2) customtoolbar.mns
3) customtoolbar.mnr
4) all your icons
5) any cutom lisp, arx codes (that aren't already in the system path)

the *.mnu is the original partial menu file that should have been loaded (via menulaod) into autocad...once that happens a *.mns file gets created and that's the file that autocad updates anytime you make changes to the custom partial menu within autocad...in general you usually want the load the *.mns version of the file (copied from the other computer) because it contains any of the changes you made to the toolbar...alternatively you could copy and rename as *.mnu file...

in the *.mnu/*.mns file there will be lines of text which point to the bitmaps/icon for the tool...make sure that there is no path in front of the *.bmp file or else autocad will look for them at that location and if you don't have that directory path you'll end up with the :) :) :) :) :) syndrome...

now the next thing to do is to add a support path to your "custom" directory--off which you already have...

then type in menuload and browse to your "custom" directory...you may need to change the filetype to *.mns to see the available *.mns files...pick the file and load it...afterwards, you may need to right click over an existing toolbar to turn on your custom ones....

once all of that is done that should be it...no need for any special lisp...the toolbar should be there everytime untill you unload it...:wink: