CUSTOM MNU LOAD WICH WILL LOAD ALL OTHER CUSTOM FILES VIA MNL (HOW)

Discussion in 'AutoCAD' started by BROKAW, Nov 18, 2004.

  1. BROKAW

    BROKAW Guest

    HOW CAN I LOAD MY ONE CUSTOM MNU FILE WHICH WILL LOAD ALL OF MY TOOLBARS AND PULLDOWNS AND VIA MY MNL LOAD AL OF MY CUSTOM LISP AND OTHER STUFF. I AM TRYING TO PASSABLY BE ABLE TO GO TO EACH MACHINE IN THE OFFICE AND REPLACE THE ACAD2005DOC.LSP OR THE ACAD.MNU WITH A NEW VERSION OF THAT FILE THAT CONTAINS SOME CALL TO DO ALL OF MY CUSTOM LOADING
    SORRY ABOUT THE CAPS AUTOCAD THINKING
     
    BROKAW, Nov 18, 2004
    #1
  2. Do not modify Acad2005Doc.lsp and preferably neither Acad.mn*. Those files
    are overwritten by Autodesk without warning. See TS21336 for more info.

    Place all your customization in Custom.mn* files and AcadDoc.lsp as needed.
    Use the MenuLoad command to load your custom menu, and all your
    customization will be there every time you start AutoCAD.

    --
    R. Robert Bell


    HOW CAN I LOAD MY ONE CUSTOM MNU FILE WHICH WILL LOAD ALL OF MY TOOLBARS AND
    PULLDOWNS AND VIA MY MNL LOAD AL OF MY CUSTOM LISP AND OTHER STUFF. I AM
    TRYING TO PASSABLY BE ABLE TO GO TO EACH MACHINE IN THE OFFICE AND REPLACE
    THE ACAD2005DOC.LSP OR THE ACAD.MNU WITH A NEW VERSION OF THAT FILE THAT
    CONTAINS SOME CALL TO DO ALL OF MY CUSTOM LOADING
    SORRY ABOUT THE CAPS AUTOCAD THINKING
     
    R. Robert Bell, Nov 18, 2004
    #2
  3. BROKAW

    Dr. After Guest

    *BROKAW* typed them thar words:

    | HOW CAN I LOAD MY ONE CUSTOM MNU FILE WHICH WILL LOAD ALL OF MY
    | TOOLBARS AND PULLDOWNS AND VIA MY MNL LOAD AL OF MY CUSTOM LISP AND
    | OTHER STUFF. I AM TRYING TO PASSABLY BE ABLE TO GO TO EACH MACHINE IN
    | THE OFFICE AND REPLACE THE ACAD2005DOC.LSP OR THE ACAD.MNU WITH A NEW
    | VERSION OF THAT FILE THAT CONTAINS SOME CALL TO DO ALL OF MY CUSTOM
    | LOADING SORRY ABOUT THE CAPS AUTOCAD THINKING

    What you are wanting to do is a great idea with all the wrong steps. First,
    never mess with the original AutoCAD files. Second, never mess with the
    original AutoCAD files. Is the file structure for menus the same as 2002?
    If so, there is a great write up on how to do this here:

    http://www.cadalyst.com/cadalyst/article/articleDetail.jsp?id=81877
     
    Dr. After, Nov 18, 2004
    #3
  4. BROKAW

    Tom Smith Guest

    Just load it, make any other settings in options that you want, and export
    that profile to a file. Import that arg file on another machine and set it
    current and you're done.

    It isn't neccessary to force a menu load every time Acad starts. Whatever
    menu is loaded in your profile will load next time.

    Don't mess with acad2005doc.lsp, make your own acaddoc.lsp instead.

    It's better and easier to put your customizations in a partial menu instead
    of altering the acad menu. In fact, it's good if you don't alter any
    Acad-supplied file whatsoever. Make your customizations separate from the
    standard install and your life will be much easier.

    See http://www.cadalyst.com/cadalyst/article/articleDetail.jsp?id=80817 for
    more details. AUGI is also starting a series of articles this month which
    make exactly the same point.
     
    Tom Smith, Nov 18, 2004
    #4
  5. BROKAW

    BROKAW Guest

    i don't want to use profiles because they may need to be updated at some point which will lose the users profile setup is there not a way to place a single string in one of the acad std. out of the box files thus sucking in all the custom stuff through that one load in the std. out of the box file and that load my custom mnu which will load my mnl and so on
     
    BROKAW, Nov 18, 2004
    #5
  6. Just perform the MenuLoad command to load your custom menu. Once it is
    loaded, it will always load in that profile.

    --
    R. Robert Bell


    i don't want to use profiles because they may need to be updated at some
    point which will lose the users profile setup is there not a way to place a
    single string in one of the acad std. out of the box files thus sucking in
    all the custom stuff through that one load in the std. out of the box file
    and that load my custom mnu which will load my mnl and so on
     
    R. Robert Bell, Nov 18, 2004
    #6
  7. BROKAW

    Tom Smith Guest

    is there not a way to place a single string in one of the acad std. out of
    the box files

    Have you noticed that everybody who responded said to NOT do that? Read the
    references we gave you, they're intended to save you time and effort.

    I've used profiles for several years now to set up Acad on a couple of dozen
    machines, and I don't know what you're worried about. I've never had a need
    to change a profile, it's just how I make the initial installation easy.
    Everybody's machine is set up the same at first. If they make changes they
    want to "back up" they're free to export their settings to their own arg
    file. If somebody's computer gets irreparably screwed up, as a last resort I
    can always reset it to the intial setup profile, and at least I know it will
    work.

    If they've made personal changes to menus etc. without following all the
    advice I've given them on how to back up and protect them, then shame on
    them.
     
    Tom Smith, Nov 18, 2004
    #7
  8. BROKAW

    Rick Keller Guest

    Once you get your files working.

    Hopefully you have some kind of network at your office?

    Place 1 copy of the files you need for your menus and point all of the
    machines to that spot. This way when you feel like updating the files
    you only do it once... also you can update them without interrupting
    everyone else.

    Rick
     
    Rick Keller, Nov 19, 2004
    #8
  9. BROKAW

    BROKAW Guest

    THANK YOU ALL IM NOT TRYING TO BE A PAIN BUT A GUY ONE IN A CONVERSATION AT A CONVENTION WAS TELL A GROUP OF HOW TO DO THIS AND IT JUST SOUNDS TO GOOD TO BE TRUE THANKS THOUGH
     
    BROKAW, Nov 19, 2004
    #9
  10. BROKAW

    BillZ Guest

    Everyone here is more than glad to help you but pleeze turn your caps lock off when posting. All caps is the same as YELLING and my head already hurts today.

    Thanks

    Bill
     
    BillZ, Nov 19, 2004
    #10
  11. BROKAW

    Tom Smith Guest

    1) Make a folder for your menu related customizations. If you're going to
    share them, it should be in a shared network location, which you can change
    but is read-only for everyone else.

    2) Put this folder first on your support file search path.

    3) In the folder create a text file named custom.mns which has this as the
    first line:

    ***MENUGROUP=CUSTOM

    It can have any menu items you want, or none at all, but it must have this
    first line. This will be your new partial menu.

    4) Create a text file in the same folder named custom.mnl which has this at
    the end:

    (princ "\nCustom.mnl loaded.")
    (princ)

    It can have any (load) or (autoload) statements you want. This will
    automatically load your custom lisps.

    5) Place any custom lisps in the same folder.

    6) Menuload the custom.mns. Use the menuload command, not the menu command.

    This menu will reload automatically in every drawing, and the mnl will load
    all your lisps.

    7) In options, export this profile to an arg file.

    8) On a new machine, import the profile and set it current. This will make
    everything work.

    9) Do not modify any file in the standard AutoCAD installation. It's not
    necessary, and it's far easier to maintain your customizations separately.
    You've been given several very detailed references on the best way to
    customize AutoCAD.
     
    Tom Smith, Nov 19, 2004
    #11
  12. BROKAW

    Rudy Tovar Guest

    And one more note...Don't shout!!!...

    Just so you know, in case you didn't know. Using all CAPS is considered
    shouting...
     
    Rudy Tovar, Nov 19, 2004
    #12
  13. BROKAW

    David Allen Guest

    will autocad ALWAYS load custom.mnu if it exist no matter what?


    "R. Robert Bell" <>
    |>Do not modify Acad2005Doc.lsp and preferably neither Acad.mn*. Those files
    |>are overwritten by Autodesk without warning. See TS21336 for more info.
    |>
    |>Place all your customization in Custom.mn* files and AcadDoc.lsp as needed.
    |>Use the MenuLoad command to load your custom menu, and all your
    |>customization will be there every time you start AutoCAD.


    David
     
    David Allen, Nov 19, 2004
    #13
  14. No.

    You cannot run MenuLoad and load a menu that doesn't exist.

    --
    R. Robert Bell


    will autocad ALWAYS load custom.mnu if it exist no matter what?


    "R. Robert Bell" <>
    |>Do not modify Acad2005Doc.lsp and preferably neither Acad.mn*. Those files
    |>are overwritten by Autodesk without warning. See TS21336 for more info.
    |>
    |>Place all your customization in Custom.mn* files and AcadDoc.lsp as
    needed.
    |>Use the MenuLoad command to load your custom menu, and all your
    |>customization will be there every time you start AutoCAD.


    David
     
    R. Robert Bell, Nov 19, 2004
    #14
  15. BROKAW

    David Allen Guest

    thats not what I asked.
    If the menu exists, will it get autoladed like acad.lsp

    "R. Robert Bell" <>
    |>No.
    |>
    |>You cannot run MenuLoad and load a menu that doesn't exist.


    David
     
    David Allen, Nov 20, 2004
    #15
  16. BROKAW

    Walt Engle Guest

    Yes
     
    Walt Engle, Nov 20, 2004
    #16
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.