TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ELOQUINTET on November 12, 2003, 09:12:07 AM

Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 09:12:07 AM
hey mark i went home last night and created new  (DAN) mns mnc and mnl files using your tutorial as a guide. i copied them to a usb drive and brought them into work and put them in a folder called menus within my lisp files folder in my documents. then i opened acad and did menuload and all of my toolbars showed up except i had created some custom flyouts for offsets and fillets. my custom toolbars are not in my toolbars dialog to associate with the flyouts. i also didn't have any autocad pulldowns so i believe i unloaded it then loaded the acad mnu then customized it which created an mns. then i unloaded the acad mnu and loaded the acad mns. then reloaded my mns. file. i also loaded a couple other menus like the adt and some pulldowns i have which have decimal equivalents sheet metal gauges and parts now. i had eveything setup just how i wanted so i closed acad (brave). well when i reopened acad all i have is the parts now toolbar. so i followed the same steps as previous and when i installed my mns some of my icons showed up and some had smileys. so this is where i am now. if you could help me sort this mess out i would greatly appreciate it. thanks

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 09:19:45 AM
I won't say much...don't worry...
As far as the smiley faces are concerned, I would like to suggest Resource Hacker to create a dll file that accompanies your partial menu...
I'm not sure, but I think there was a bit of a tutorial on Afralisp about using this program to do this.  Of course, I didn't find the tutorial until after I'd pulled all of my hair out trying to figure it out for myself!

Highly Recommended!!!
Title: New menu loading problems
Post by: daron on November 12, 2003, 09:21:05 AM
The .mns file will create the .mnr, .mnc and I believe the .mnu file. .mnl is optional, I think. As far as menus not loading, try loading acad.mns first, then the rest. Dan.mns should be the last one you load. Can you copy and paste some of your .mns file and is your dll file (I assume you have one) named Dan.dll?
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 11:07:58 AM
hey guys i haven't got time to test things out right now as i was just handed a big job to do but i will take your advice daron. by the way i didn't download the dll creator software :roll: that mark told me to so i guess that will solve the smiley   :evil:   problem. how can i solve the problem of my custom toolbars not showing up. can i copy them somehow from home to here and not have to create them again cos that was a bit tedious. also what were you saying about cutting and pasting daron. thanks guys. o yeah uhhum daron how do i get the between feature the showup in my snaps without losing everything else (not pointing fingers :lol: ) thanks folks

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 11:25:54 AM
In your DAN.mn*, what is the name of the menugroup?  One reason why you might not be getting your toolbars could be because you've left it as ACAD.  It'll have to be unique.  I'd do MENUGROUP=DAN

I ain't even gonna touch the osnap menu...I wanna see what Daron or Mark have to say...(not being pointed at...  :wink: )

Cheers,
Mike
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 11:33:51 AM
changed all my menugroups but thanks for lookin out mdub. btw see my post about your smoking or rather "not". cheers

dan
Title: New menu loading problems
Post by: daron on November 12, 2003, 12:13:26 PM
Quote
how can i solve the problem of my custom toolbars not showing up. can i copy them somehow from home to here and not have to create them again cos that was a bit tedious.

All your custom toolbars are in the Dan.mns file. Even if they are a bunch of smiley's or in 2004's case ?'s on clouds, they should still work. Could you post your mns file so we can see it. You can even upload it on the lily pond and link us to it.
Quote
how do i get the between feature the showup in my snaps without losing everything else

That has to be done in the acad.mns file, unless you'd rather have a toolbar that invokes it. It shouldn't delete anything. Always make a backup copy or something before modifying anything.
Title: New menu loading problems
Post by: Mark on November 12, 2003, 12:17:25 PM
Let me ask you this first, did you add the new "menu" folder to the acad search path?
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 12:32:05 PM
Quote from: Daron
That has to be done in the acad.mns file, unless you'd rather have a toolbar that invokes it.

If you create a toolbar for it, leave the ^C^C out of the macro...Just use 'btwn.  Otherwise, it cancels the command you're in.
Title: New menu loading problems
Post by: daron on November 12, 2003, 12:35:20 PM
^Oh, yeah! Do that.
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 12:50:40 PM
wow you guys all pounced on me at once. ok first i'll answer marks question. i did add mydocuments\lisp files to my search path but put the menus in a subfolder called menus. do i have to be more specific? second i added between to DAN.mns i believe. so you're saying i should add it to acad.mns ok. i created 3 toolbars called custom offest 1 custom offset 2 and custom fillet. each button has  various offsets and fillets. then i made  3 flyouts and attached the toolbar to the flyouts. when i open acad i have the flyouts but in my toolbars the ones i created are not there to attach. am i missing something or doing this a bad way? thanks for the help guys

dan
Title: New menu loading problems
Post by: Mark on November 12, 2003, 12:54:49 PM
>do i have to be more specific?
yes

If you're creating the new toolbars in your new menu group then you shouldn't have a problem.
Title: New menu loading problems
Post by: Mark on November 12, 2003, 01:01:06 PM
You might also want to re-read my custom menu help file (Fifth step) one more time.
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 01:02:32 PM
yeah i thought that was a dumb question you should've given me a dumb answer. i created a path for my menus. i was just trying to go add the betwwen to my acad.mns and again i don't see one. i went to menuload and selected mns at bottom and went to my support folder. i swore it was there this morning. what's going on?

dan
Title: New menu loading problems
Post by: Mark on November 12, 2003, 01:19:31 PM
Alright, let's start over. But first let's make sure you know were every thing is. :D
Can you find the 'acad.mnu' file?
Do you know how to load the ADT menus?
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 01:32:00 PM
ok yes i have found and know how to load both. i've customized both omitting certain icons i never use. so i should load the mns files for both but where's my acad.mns is what i don't get?

dan
Title: New menu loading problems
Post by: Mark on November 12, 2003, 01:42:34 PM
Since you have created a custom menu I suggest not customising the acad or ADT menus anymore. Here's why. Suppose you have to reinstall ACAD, and you didn't backup the latest menu files!
Start over.... forget about the acad.mns file.
bold words = ACAD command
menu load the acad.mnu file
menuload load the ADT mns (if you have one) otherwise the mnu
menuload load your custom mns file

now what's working?
Title: New menu loading problems
Post by: daron on November 12, 2003, 01:52:07 PM
Don't forget the accov, dbCon and aecarchx.mns's. Also, don't forget express.mns if you have express tools loaded. Isn't an mns a comment-less mnu? Can't you just copy the mnu and rename it to an mns file and load it?
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 01:56:43 PM
ok i suppose i can leave the acad.mnu alone and have the extra icons. i still have some work to do on my mns though. i created it at home and included the acad tools so when i loaded it and the acad here i have doubles. and i also have to download the dll creator to fix my smiley problem. i do have a adt .mns so i'll load that one. i'm not going to do anything today because i just got a big job dropped on me and would rather test at home. so i'll fix my menus first then try again tomorrow. about the between, i would like to add that since that's how i screwed things up anyway. mdub said i have to add it to my acad.mnu is there another way to acheive this?

dan
Title: New menu loading problems
Post by: daron on November 12, 2003, 02:03:05 PM
I don't know how that screwed things up before, but the only other way is to put it as a command in your mn* file as a toolbar.
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:05:17 PM
I think what Dan needs is his very own partial menu...
.MNU!!!
He just has to learn what's going on with menus before this happens...

One little tidbit that might help:
The MNU can't be overwritten by anything like the mns, mnc, mnr files can.  Therefore, it might be a good idea to create a MASTER MNU file...
Back Everything Up First, though!!!
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:08:49 PM
From AutoCAD Help File...

MNU: Template menu file.

MNC: Compiled menu file. This binary file contains the command strings and menu syntax that defines the functionality and appearance of the menu.

MNR: Menu resource file. This binary file contains the bitmaps used by the menu.

MNS: Source menu file (generated by AutoCAD).

MNT: Menu resource file. This file is generated when the MNR file is unavailable, for example, read-only.

MNL: Menu LISP file. This file contains AutoLISP expressions that are used by the menu file and are loaded into memory when a menu file with the same file name is loaded.
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:14:53 PM
Quote from: eloquintet
...is there another way to acheive this?


Either in your mns (which is missing(?)) or in a cutom button...
'btwn
other than that, you have to type it in yourself complete with apostrophe:

Command: l
LINE Specify first point: 'btwn

Enter first point:
Enter second point:(22.5 21.25 0.0)

Specify next point or [Undo]:
Specify next point or [Undo]:
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 02:21:48 PM
i have the osnap flyout as part of my menu so i guess i can just add a between button to that. i was thinking partial menu too but i'm just following these guys until they tell me otherwise (scary thought :lol: )

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:24:11 PM
Dan,
Did you get the pm I sent yesterday?
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 02:33:49 PM
no don't think. i some from mark let me check. awww that's nice hey like i say everybodys gotta learn sometime and that's why i'm here so don't feel so bad it happens to the best of us. peace

dan
Title: New menu loading problems
Post by: Mark on November 12, 2003, 02:36:18 PM
Let me just through this out and see what happens :D

What happens if you don't have an .mnu file _but_ you do have an .mns file?
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:39:38 PM
Nothing

Correct me if I'm wrong, but I believe Acad only uses the mnu once.  From that, it generates the mns and all the rest.  From that pont on, acad only looks for the mns unless you tell it to (re)load an mnu file.

Like Daron said, an mns file is almost the same as the mnu file...just missing some garbage...
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 02:40:52 PM
Shoot...
Were you asking everyone or just Dan?
Sorry if I wasn't supposed to answer
Title: New menu loading problems
Post by: Mark on November 12, 2003, 02:51:22 PM
New version: All ActiveX CAB take a look at this one.
http://theswamp.org/swamp.files/mark/lbmp.lsp
Title: New menu loading problems
Post by: Mark on November 12, 2003, 02:54:48 PM
Quote from: M-dub
Nothing

Correct me if I'm wrong, but I believe Acad only uses the mnu once.  From that, it generates the mns and all the rest.  From that pont on, acad only looks for the mns unless you tell it to (re)load an mnu file.

Like Daron said, an mns file is almost the same as the mnu file...just missing some garbage...


Nothing! meaning it won't load the menus or, nothing it will use the .mns?

Quote
Were you asking everyone or just Dan?
Everyone _but_ Dan. :D  just kidding Dan.........
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 02:56:39 PM
damnit mdub go have a cigarette oh i'm sorry the evil word  :twisted: uhhh mark i don't really want what the acad.mnu offers i would like to customize it and use the mns but can i. well if i had an mns i could figure that out. seriously ummm well the mns references the mnu right but do you have to have the mnu loaded or can you just load the mns. it says mnu is a template file and mns a source file that refers to the mnu as i understand it so i would say no :?:

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:09:47 PM
Don't do this...It's just an example:

You can start with an MNU only (no mns, mnc or mnr).  AutoCAD loads MNU and automatically generates those ones.  After that, you COULD (although WOULDN'T or SHOULDN'T) delete the original MNU because Acad is only going to look at the mns from then on.
You should only run into problems if you have neither of the above.
Title: New menu loading problems
Post by: Mark on November 12, 2003, 03:15:36 PM
>i would like to customize it and use the mns
Customise _your_ .mns and leave the ACAD stuff alone. That way when you upgrade/re-install ACAD all you have to do is load you custom menu and away you go. OR, if you work on another CAD station simply load your menus and go to work. Everything is right there in your menu.
Title: New menu loading problems
Post by: Mark on November 12, 2003, 03:18:53 PM
Just for the record, I havn't used a.mnu file in my custom menu since R14. The key word here is backup if you have that it doesn't matter what you do. :D
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:25:24 PM
When I get back to Sarnia, I'll send you a copy of my partial menu.  You guys might think I'm a drooling mental midget, but my stuff works and works great!
Don't worry Dan...You'll be a pro in no time!
Title: New menu loading problems
Post by: Mark on November 12, 2003, 03:27:43 PM
So Mike, what did you think about my little tutorial? I'd be happy to co-author the rest of it with you.
Title: New menu loading problems
Post by: CADaver on November 12, 2003, 03:28:59 PM
Quote from: eloquintet
damnit mdub go have a cigarette oh i'm sorry the evil word  :twisted: uhhh mark i don't really want what the acad.mnu offers i would like to customize it and use the mns but can i. well if i had an mns i could figure that out. seriously ummm well the mns references the mnu right but do you have to have the mnu loaded or can you just load the mns. it says mnu is a template file and mns a source file that refers to the mnu as i understand it so i would say no :?:

dan


Oboy, a place I can throw in to muddy-up the waters... kewl!

I use R2002 and don't know if R2004 changes things, but here's my experience as it relates to R2002:

The MNS is created when you load the MNU, as are the MNC and MNR.  From that point on editting the menu fram ACAD changes the MNS.  Those changes are NOT reflected in the MNU.  I use the MNU as sort of a backup, once the MNS is running well, I copy the MNS over the MNU.

The "Smiley Face" delimma is solved by placing the icon BMP's created by editting button faces in the same directory as the MNS.  Or creating a specific directory for those BMP's and adding that directory to the search path.

My process is this:
I load the ACAD.MNS, then MENULOAD any custom menus (mine, express, clients, whatever).  The only stuff in my custom menu is my custom toolbars and pulldowns.  

To create those, I copy-n-paste the similar toolbar out of ACAD.mns into PERSONAL.MNS and MENULOAD that into the current session.  Making sure that it is the menu current in the customize dialog box, I can click-drag-copy buttons from any open toolbar into the new one.  Or edit the buttons currently displayed on that bar.  Or insert new buttons and flyouts.

The PERSONAL.MNS can also be editted by any plain text editor (NOTEPAD, WORDPAD, EDLIN, whatever).  But you then have to re-MENULOAD the MNS file to recompile the MNC & MNR files.  If you're editting the menu through an ACAD session, the MNR & MNC files are atomatically created.

~~~~~~~~~~

A note on MNL:  The MNL is a lisp routine that loads with the MNC.  When a menu is loaded, ACAD looks araound for an MNL of the same name.  IF it finds one it loads it like a lisp routine.  Real handy for loading menu specific functions.

~~~~~~~~~~~~

Are the waters muddy enough yet?? :shock:
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 03:33:05 PM
good one mark  :wink: if this is true what you say mdub i'm wondering where my acad.mns file is. i would modify my mns if i could find the bloody thing. it's not in support i've looked a million times and just looked again in application data. any thoughts?

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:39:37 PM
First of all, Mark.  I'd be more than willing to add to that help file!  When I get time, that is.  I just printed it out and leafed through it...Looks pretty sweet!  I wrote a real good one on partial menus on the OLD Cadalog forum, but I don't think we can get to those anymore...(Could Andrew?)

Cadaver,
You Failed...miserably!  I think you made the waters clearer!!!  Quick and to the point!  Your solution to the smilies is another option.  The only reason I like creating a dll file is because it keeps all of the bitmaps inside it instead of having all kinds of files to worry about.  The end result is the same, however.
Cheers!
Title: New menu loading problems
Post by: daron on November 12, 2003, 03:44:26 PM
You know, to be honest, I didn't start looking into menu's until 2000. I think the mnu file is a left over from 14. I do nothing but create an %username%.mns file. The mnc and mnr are all created by acad for use by acad. I only modify my mns file. I avoid creating a menu pull-down. Who uses them anyway? Toolbars are the way to go, IMO. As far as the mnl file goes, it seems that they are good for forcing standards that shouldn't have gone wrong in the first place or if you load up on another computer and need your settings set up. Otherwise, I don't see that you'd write lisps in the mnl file. Familiarize yourself with profiles. They are a pain in the butt at first, but when you realize that they store files that are in the content suite, they can be a life saver.

Back to mnu's, I don't see a need for them.
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:45:55 PM
Dan,
   Is there a chance that you might have MSN Messenger?  If so, we can do an application sharing session and I can actually take over control of your pc (temporarily) and show you what to do...
SCARED?!?!  Thought so...but don't be!
   I'm wondering if for some very strange reason, your mns file is hidden and you don't have that option set up in Windows Explorer to view all files.  The reason is because YOU HAVE AN MNS!  Try doing a Find Files (from the Start menu) for "mns" instead of "acad.mns" or "whatever.mns".  If you'll remember, I told you yesterday to rename it to "acadmns.old" which means you won't find it if you're searching for *.mns
Title: New menu loading problems
Post by: Mark on November 12, 2003, 03:47:06 PM
** mark pondering the question ** I wonder if they know that when they click on the links in my tutorial there appears a window with a screen shot of the dialog boxes
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:47:46 PM
And to Daron, I simply say:
"To each, their own", but I get your point...;)
Title: New menu loading problems
Post by: Mark on November 12, 2003, 03:51:59 PM
>we can do an application sharing session and I can actually take over control of your pc (temporarily) and show you what to do...

Excellent idea.
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 03:55:18 PM
It's a very powerful tool!  I help my sister with her computer problems all the time...and she's up in Thunder Bay, Ont.  (about 15 hours away!)
However, it's really only good if both parties have high speed internet access...
Title: New menu loading problems
Post by: daron on November 12, 2003, 03:56:37 PM
Sorry, just having a "why does autodesk leave things that aren't needed anymore" day. Rainy days in the desert bring out strange things in people.
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 04:02:17 PM
LOL
Speaking of which; does anyone use screen menus anymore?  (The menu at the side)...
Title: New menu loading problems
Post by: CADaver on November 12, 2003, 04:04:20 PM
Quote from: Daron
I avoid creating a menu pull-down. Who uses them anyway? Toolbars are the way to go, IMO.

I have some left over from R10...  just too lazy to build dialog boxes.

Quote from: Daron
As far as the mnl file goes, it seems that they are good for forcing standards that shouldn't have gone wrong in the first place or if you load up on another computer and need your settings set up. Otherwise, I don't see that you'd write lisps in the mnl file. Familiarize yourself with profiles. They are a pain in the butt at first, but when you realize that they store files that are in the content suite, they can be a life saver.

We use a conjunction of PROFILES and "task specific menus".  Generically, we have a profile for say "Structural Steel Modeling".  That profile loads a Steel.MNS and the associated STEEL.MNL that contains several Steel modeling functionc outright, and autoload calls for several more.  We do the same for CIVIL and ARCHITECTURAL.

We also use the MNL to load client specific controls (layers styles, dimstyles, etc.)  The standards that shouldn't go wrong in the first plce, but because we have a couple dozen clients, each with completely different standards, often get garbled by not paying attention to which client you working for when and where.  (I hope that is as hard to read as it was to type.)

Quote from: Daron
Back to mnu's, I don't see a need for them.

Me either, except as a backup for the MNS, maybe.
Title: New menu loading problems
Post by: daron on November 12, 2003, 04:04:54 PM
Will they ever get rid of that? NO, I haven't used it since they turned it off. Was that a poor man's version of menu's?
Title: New menu loading problems
Post by: ELOQUINTET on November 12, 2003, 04:09:54 PM
mdub i have yahoo messenger and would love your help but today unfortunately i'm swamped with work so can't really test any of this out. i will print all the comments out before i leave and work on it tonight at home and let you know what i have tomorrow. mark and i tried to find my mns over the phone yesterday and had no luck. i have no problem finding all the others so not sure why this one is so elusive.

dan
Title: New menu loading problems
Post by: M-dub on November 12, 2003, 04:12:18 PM
I wouldn't be able to do the messenger thing until I get back to Sarnia anyway...I'm swamped as well.
Damn!  I spend way too much time in here!!!
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 08:46:22 AM
hey guys well i went home last night recreated my menu. i also downloaded reshack and compiled all my bmps into a dll. i also created an acad.mns and copied all this onto my usb drive. ok first thing i notice here is i don't see my mns i put on my usb drive. i loaded unloaded everything and loaded my acad.mnu. then i customized it then added all of my other menus. i put the dll and the individual bmps and lsps together in the same folder as my menu files and defined the path in acad. i still have smileys all of my flyouts are blank and if i close autocad and reopen i have nothing. now i'm getting a little frustrated. help please

dan

by the way everything works great at home :roll:
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 08:55:26 AM
You're having major problems with mns!
You're telling us that you put it on your USB drive last night, but now you can't find it even though everything else is there?
Which version of AutoCAD do you have again?
Also, I'm wondering if anyone out there has a 'FOR SURE' original acad.mn* that they can upload to the pond...
Title: New menu loading problems
Post by: daron on November 13, 2003, 09:00:13 AM
Dan, the dll contains the bmps. You can delete them. They are no longer needed. What do you mean, you created an acad.mns? In the reshack, you are required to name resource. That name should replace the bitmap call-out in your mns file, i.e. GATTES should replace "ICON.BMP" and if you have a large icon bitmap like GATTEL replace "ICON_16_BLANK" with it. Otherwise, leave it as is. So, if you called the resource name GATTES, you need to name the menu "GATTES". Don't use a bmp extension. Here is an excerpt of my custom mns file:
Code: [Select]
ID_TB_ID9      [_Button("Global Attribute Edit", "GATTES", "GATTEL")]^C^C-VBARUN gatte.dvb!gatte.module1.Run_gatte
Title: New menu loading problems
Post by: Mark on November 13, 2003, 09:00:24 AM
http://www.theswamp.org/lilly.pond/public/acad.mnu
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 09:01:12 AM
i am using adt 3.3. would it matter if i am using plain acad 2002 at home. all my other stuff is there so i don't know. even so i don't see one in my support folder anyway guess not. yes actually i haven't been able to find any mns on this computer. is there any kind of variable to disable menuload on startup because nothing loads. i don't get it thought i had it solved because it worked fine at home.  :cry:

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 09:03:41 AM
Dan, could you upload say a zip file of all your menu files to the lilly pond? I would like to test them on my machine. Maybe one of us can find the problem.
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 09:08:03 AM
I was just going to say that...
Good Idea!
Title: New menu loading problems
Post by: hendie on November 13, 2003, 09:14:21 AM
Quote from: M-dub
...You're telling us that you put it on your USB drive last night, but now you can't find it even though everything else is there?...


I don't know if this has any relevance but occaisionally when I've edited a Lisp or menu or whatever ~if I've saved the file and haven't specified "All Files" and put my own extension in the filename, Notepad has saved it as mylisp.lsp.txt[/color] (note the extra dot + extension)
Now, depending upon how you searched for it would determine if you found it or not. i.e. in Windows explorer, if I searched for mylisp.lsp ~ it wouldn't be found, whereas, if I searched for mylisp or even lisp~ it would be found !
The explorer by default searches for anything as if wildcards had been inserted before and after the search term ~unless you specify a wildcard and/or extension within the search term. I would try searching for Acad alone and see what that turns up.
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 09:16:02 AM
ummm yes but how do i go about uploading them? btw mdub i'm going to see the islanders vs canadiens tonight front row behind the goal sweeet

dan
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 09:35:38 AM
You lucky ba$tard!
How much were THOSE Tickets?!!?

http://www.theswamp.org/lilly.pond/
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 09:40:51 AM
hendie i can't see what you wrote because yellow doesn't show up too well on the board but i'm assuming you wrote to search for acad which i've done u r l and c show but no s.

dan
Title: New menu loading problems
Post by: daron on November 13, 2003, 09:50:44 AM
If you select the text you can't read like you're going to copy it, you should be able to read it. What style are you using?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 09:52:27 AM
my company has season tix and they were given to me 3 tix a hundred bucks a pop  :D ok i'll try the upload and let you know thanks

dan
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 10:09:37 AM
ok everything is uploaded and i mean everything but of course no mns. i use parts now too but was unable to find the menus. is it strange that this loads when i start acad everytime but nothing else and i can't find the menus. just thought you might wanna know that

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 10:26:50 AM
How about uploading all your custom menu files, i.e. mn* dll bmps that you put on the usb device.

Also if your search for acad.mn* in Windows what do you get? Or even *.mn* ?

One more<g> in My Computer under tools->folder options under the view tab, do you have "hide extensions for known file types" unchecked?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 10:43:12 AM
hey mark my box was checked in tools. i unchecked it and did the searches. the only thing that came up referring to mns were realaudio files for all the mnses. so apparently they do exist on my computer but where are they. i looked under application data too. ok will upload stuff from my usb now

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 10:47:20 AM
Now, back to what hendie was saying. How about a search for acad.mns.txt or some variation.
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 10:59:25 AM
just tried nuttin. i just went to another persons computer and searched *.mns and everything came up???

dan
Title: New menu loading problems
Post by: daron on November 13, 2003, 11:04:30 AM
Take that persons mns files and load them on yours. They shouldn't be any different. Remember, load the acad.mns first, then the adt ones, then yours.
Title: New menu loading problems
Post by: CADaver on November 13, 2003, 11:09:59 AM
Sounds like the MNU is sending the MNS to a different directory or reading some other location instead of the USB,  Search your HD for any occurances of the MN*.
Title: New menu loading problems
Post by: Mark on November 13, 2003, 11:11:36 AM
Wait a minute, Dan, you said you can't see the .mns file on your usb drive?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 11:17:34 AM
yes i was going to tell you that. when i created the zip file for upload i saw the mns in there. what the hell is goin on man sheesh how annoying. you see the mns there right?

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 11:23:18 AM
>you see the mns there right?

Yep.

I also see the problem with the smily's. Fixed that. I'll test the rest of your menu shortly.
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 11:39:10 AM
8) kill those smileys mark. yeah i was trying to edit my mns and replace the icon????? with that actual bmp but i may not have done it completely right. i tried to add the decimal and sht gauge to it too as you might see but i realize now i put it in the toolbar section not the pulldowns. that's about all i touched. i would also like to add the dimension reactor i have to my menu file. i posted it somewhere on the swamp.

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 12:15:51 PM
Dan, is there anything in the Dan.mnl that is actually yours?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 12:18:46 PM
ummm no never touched it. i know it's the lisp menu but... should i add all my lisp codes to that?

dan
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 12:29:44 PM
just copied my coworkers acad.mns to my usb. come back to my computer and all i see is the acad.mns realaudio file.

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 12:29:50 PM
I'm doing that now. But I'm removing all the stuff that doesn't belong there.
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 12:33:32 PM
mkay thanks mark you da man  :wink:

dan
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 01:29:36 PM
Just thought I'd let you guys know...
You won't be hearing from me for a while...This project just took a turn for the worst and I'm running around here like a chicken with its head cut off!
Best of luck and I'll talk to ya's soon!
Mike
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 01:37:08 PM
alright man best of luck to you too. go islanders :lol:

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 01:39:38 PM
Sorry to here that Mike.


Dan........
http://www.theswamp.org/lilly.pond/mark/DAN.zip

is your new files. Read problems.asc included
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 01:52:20 PM
ok mark i see dan.dll , dan.mns realaudio , danloader.lsp , problems.asc

should i see something else and what do i do with all these?

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 01:54:40 PM
>realaudio
?? I think I see the problem :D

there are only 4 files in the zip.
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 02:02:00 PM
yep
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 02:06:22 PM
Quickly,
I had Realaudio on my machine as well...AutoCAD still looks at it though.  If I were a bettin' man, I'd say you installed realaudio after you installed AutoCAD.  I could be wrong, but I don't think that should affect you...Just that windows has associated mns files with realaudio.
Title: New menu loading problems
Post by: daron on November 13, 2003, 02:07:14 PM
I've been wondering about that realaudio thing myself. Man, I dislike that company. What's with it reading an mns file?
Title: New menu loading problems
Post by: CADaver on November 13, 2003, 02:15:45 PM
Quote from: Mark Thomas
>realaudio
?? I think I see the problem :D


REalAudio hijacks the MNS file extension, PITB
Title: New menu loading problems
Post by: daron on November 13, 2003, 02:25:36 PM
Is that hijacking similar to the scr problem between acad scripts and windows SCReen savers?
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 02:29:03 PM
I believe so, yes...
They still work in AutoCAD, but are associated with something else...there are likely more file types than just those two as well...
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 02:57:37 PM
what if i uninstall realplayer? i hate that player anyway. when you try to open the file you get an error, piece of cr... well glad we've narrowed it down and i hope there's a solution. thanks

dan
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 03:11:08 PM
Do It!  Do It!  Do It!
Title: New menu loading problems
Post by: daron on November 13, 2003, 03:38:20 PM
My wife had Real(crappy)Download on our computer at home. I finally convinced her to get rid of it. It took twice the time to download with it than without it.
Title: New menu loading problems
Post by: M-dub on November 13, 2003, 03:42:51 PM
Well, Dan?  How goes the battle?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 03:50:22 PM
uh been working on my drawing actually. i was sorta waiting to hear back from mark as to whether he might know of any other possible solutions. seemed light a light bulb went off in his head but haven't heard back.

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 03:54:36 PM
Sorry, just got back from down town. Did you change the association of the .mns back to Notpad?
Title: New menu loading problems
Post by: ELOQUINTET on November 13, 2003, 04:00:54 PM
it's alright ummm not sure how to accomplish that?

dan
Title: New menu loading problems
Post by: Mark on November 13, 2003, 04:47:32 PM
tools -> folder options
file types tab
scroll down to MNS
click on change
in the "open with" dailog select Notepad
click OK
click close
Title: New menu loading problems
Post by: ELOQUINTET on November 14, 2003, 10:15:15 AM
hey mark just wanted to give you an update. everything is ok sort of. i changed the association of my mns. the icon still shows as real but i can open with notepad. everything reloads when i close acad now. i do have a few more questions though. i still don't have have the custom offset and fillet in my list of toolbars so i can't associate them to my custom flyouts, how do i get them to show up? i'm wondering too can i now get rid of my bmp files or save them somewhere else and just use the dan.dll? also what do the danloader lsp and the problem acs do just out of curiousity?

dan
Title: New menu loading problems
Post by: Mark on November 14, 2003, 10:47:52 AM
SAve your .bmp's for now. The 'danloader.lsp' is called from dan.mnl, it loads all you lisp files. The 'problem.asc' file is a txt file I suggest reading. I have changed your menu a little so that your two of your flyouts are working. I'll upload it to the lilly pond in a few.
Title: New menu loading problems
Post by: Mark on November 14, 2003, 10:50:34 AM
it's there.....
http://www.theswamp.org/lilly.pond/mark/DAN.zip
Title: New menu loading problems
Post by: ELOQUINTET on November 14, 2003, 11:51:36 AM
hey mark i had to do a little tweaking because some smileys were appearing and misplaced icons. 1" 1.5" 1.75" 2" and zoom trim were messed up. i repathed them and closed and they found their way. now what i wanted to ask was. you forgot the add the offset 1 toolbar so i tried myself i think i'm close but not sure about the user buttons

***TOOLBARS
**OFFSET_1
**TB_OFFSET_1
**TB_CUSTOM_OFFSET_1
ID_UserButton_17 [_Button("OFFSET 1/32", "OFFSET ONE THIRTY SECOND.bmp", "ICON_24_BLANK")]^C^COFFSET;1/32

ID_UserButton_18 [_Button("OFFSET 1/16", "OFFSET ONE SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;1/16

ID_UserButton_19 [_Button("OFFSET 1/8", "OFFSET ONE EIGHTH.bmp", "ICON_24_BLANK")]^C^COFFSET;1/8

ID_UserButton_20 [_Button("OFFSET 3/16", "OFFSET THREE SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;3/16

ID_UserButton_21 [_Button("OFFSET 1/4", "OFFSET ONE QUARTER.bmp", "ICON_24_BLANK")]^C^COFFSET;1/4

ID_UserButton_22 [_Button("OFFSET 5/16", "OFFSET FIVE SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;5/16

ID_UserButton_23 [_Button("OFFSET 7/16", "OFFSET SEVEN SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;7/16

ID_UserButton_24 [_Button("OFFSET 1/2", "OFFSET ONE HALF.bmp", "ICON_24_BLANK")]^C^COFFSET;1/2

ID_UserButton_25 [_Button("OFFSET 9/16", "OFFSET NINE SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;9/16

ID_UserButton_26 [_Button("OFFSET 5/8", "OFFSET FIVE EIGHTH.bmp", "ICON_24_BLANK")]^C^COFFSET;5/8

ID_UserButton_27 [_Button("OFFSET 3/4", "OFFSET THREE QUARTER.bmp", "ICON_24_BLANK")]^C^COFFSET;3/4

ID_UserButton_28 [_Button("OFFSET 13/16", "OFFSET THIRTEEN SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;13/16

ID_UserButton_29 [_Button("OFFSET 15/16", "OFFSET FIFTEEN SIXTEENTH.bmp", "ICON_24_BLANK")]^C^COFFSET;15/16

**OFFSET_2
**TB_OFFSET_2
**TB_CUSTOM_OFFSET_2
ID_OFFSET_0    [_Toolbar("CUSTOM OFFSET 2"



you have this: OFFS.bmp : for offset one inch, shouldn't it be :OFFSET ONE.BMP

and this for offset two inch: OFFS8467.bmp : for offset two inch, shouldn't it be :OFFSET TWO.BMP

it's getting there i just wanna make sure i'm doing this right and not totally screwing it up (again :lol: )

dan
Title: New menu loading problems
Post by: Mark on November 14, 2003, 01:59:36 PM
Yea, you're going in the right direction. The more you play with it the better you'll get. :D  There is some good reading in the help files "Overview of Menu Files".
Title: New menu loading problems
Post by: ELOQUINTET on November 14, 2003, 03:28:53 PM
got it now mark sweeeeeeet. well that was a hard leason learned but a valuable one. one is still wrong though. realaudio is still associated with my mns files. i have to change it everytime which is a real hassle urrrrgh.

dan
Title: New menu loading problems
Post by: daron on November 14, 2003, 04:26:49 PM
When you open the mns file, if you right click to open it and click on open with... instead of open, you should be able to select apps to open with. Pick notepad and make sure the checkbox for "Always use..." is on. That might help.
Title: New menu loading problems
Post by: ELOQUINTET on November 14, 2003, 04:37:27 PM
ah thank you thank you thank you daron that seems to have done it. didn't notice the always use box sweeet gracias

dan
Title: New menu loading problems
Post by: daron on November 14, 2003, 04:41:20 PM
Wow! You're welcome. I like this guy. See 7, there are people who don't leave you wondering if what you said worked. Very grateful. Cool.
Title: New menu loading problems
Post by: ELOQUINTET on November 17, 2003, 08:11:25 AM
credit where credit is due  :wink:

dan
Title: Re: New menu loading problems
Post by: ScottMC on October 22, 2017, 12:10:03 AM
Got an answer - in using files which need loading of another [parent] they can be loaded by your MNS with ->
Code - Auto/Visual Lisp: [Select]
  1. ID_command   [menucmd]^C^C(LOAD "file") space COMMAND space
eliminates the need for so many in my acaddoc.lsp START-UP (autoload-er
Another mark on the calendar..
https://www.theswamp.org/Smileys/black/yes.gif