Custom buttons become ??????

Discussion in 'AutoCAD' started by Homerloew, Sep 16, 2004.

  1. Homerloew

    Homerloew Guest

    When 2005 came out I created some custom toolbars. The toolbars had a mix of standard buttons and custom buttons. I created .bmps for the custom buttons. About a month later the images were replaced with question marks.

    What I have done is open the custom.mns and where I found :

    ID_PlotStyMgr_0 [_Button("Plot Style Manager",RCDA4310.bmp", "RCDA1041.bmp")]^C^C_stylesmanager

    I replaced with this:

    ID_PlotStyMgr_0 [_Button("Plot Style Manager", "RCDATA_Plot Style Manager.bmp", "RCDATA_16_Plot Style Manager")]^C^C_stylesmanager

    I have a folder with a .bmp named Plot Style Manager. This folder is on the Support File Support Path. I also have my support folder which contains my custom.mns file in the path.

    After I changed the custom.mns and added the support paths I unloaded my custom menu using menuload. Then I deleted my custom.mnr and custom.mnc. Finally I reloaded my custom menu using menuload.

    I still have the question marks. What have I done wrong? I have searched the 2005 and this ng and haven't found the solution yet.

    Thank You

    don
     
    Homerloew, Sep 16, 2004
    #1
  2. Make those same changes to the .mnu (after backing it up first) then delete
    the .mns and then reload and see if you have the same prob. The .mns is
    written at run time if it does not exist. It is written from the .mnu.
    When you make changes it will only change the .mns, so for perm. changes
    change the .mnu and then you should be fine.

    --
    =================================
    Timothy Spangler

    AutoCAD 2005
    =================================
    of standard buttons and custom buttons. I created .bmps for the custom
    buttons. About a month later the images were replaced with question marks.
    Manager.bmp", "RCDATA_16_Plot Style Manager")]^C^C_stylesmanager
    the Support File Support Path. I also have my support folder which contains
    my custom.mns file in the path.
    custom menu using menuload. Then I deleted my custom.mnr and custom.mnc.
    Finally I reloaded my custom menu using menuload.
    the 2005 and this ng and haven't found the solution yet.
     
    Timothy Spangler, Sep 16, 2004
    #2
  3. Homerloew

    Tom Smith Guest

    In 2004, at least, on XP, the mnr doesn't seem to recompile properly and
    eliminate the question marks unless you close Acad, delete the mnc & mnr,
    then reopen Acad. I didn't have to do this on NT.

    You should not need to unload and reload the mns. It will recompile
    automatically, if the mnc and mnr are deleted, when Acad is reopened.

    of standard buttons and custom buttons. I created .bmps for the custom
    buttons. About a month later the images were replaced with question marks.
    Manager.bmp", "RCDATA_16_Plot Style Manager")]^C^C_stylesmanager
    the Support File Support Path. I also have my support folder which contains
    my custom.mns file in the path.
    custom menu using menuload. Then I deleted my custom.mnr and custom.mnc.
    Finally I reloaded my custom menu using menuload.
    the 2005 and this ng and haven't found the solution yet.
     
    Tom Smith, Sep 16, 2004
    #3
  4. Homerloew

    Rick Keller Guest

    What is the exact name of your bmp? If it is Plot Style Manager.bmp
    then the line in the menu should be:

    ID_PlotStyMgr_0 [_Button("Plot Style Manager", "Plot Style Manager.bmp",
    "RCDATA_16_Plot Style Manager")]^C^C_stylesmanager

    If you are using small buttons.

    If you are using large buttons it should read:

    ID_PlotStyMgr_0 [_Button("Plot Style Manager",RCDA4310.bmp", "plot style
    manager.bmp")]^C^C_stylesmanager


    I always try to keep my bmp names small with no spaces in them.


    Rick
     
    Rick Keller, Sep 16, 2004
    #4
  5. Homerloew

    Homerloew Guest

    Tim, Tom, Rick,

    Thank you for your help. I have changed the lines in my custom.mns to match what Rick suggested. When I opened my custom.mnu it was empty so I copied all the toolbars from the custom.mns into the custom.mnu. I then deleted my custom.mns, custom.mnr, & custom.mnc. I opened AutoCAD and the buttons were still question marks.

    I am running AutoCAD 2005 which has the custom menus. I haven't touched the acad menus. Should I add the custom toolbars to the acad.mnu

    About a month ago I backed up all my menus (acad, custom & acetmain). If I delete the ones I am currently using and copy the backups over my toolbars look as they should. (Guess this is why stuff like this should be backed up!!!) Where I run into trouble is when I change profiles. Poof the custom buttons become question marks.

    I am sure I still have something not right. Any ideas?

    Thank You,
    don
     
    Homerloew, Sep 17, 2004
    #5
  6. Homerloew

    Rick Keller Guest

    I wouldn't edit the acad menu but that doesn't mean that you cannot edit it.

    Do you have a folder containing the custom menu files and the bmp files?

    Make sure the folder is in the search path in acad... Try placing the path
    you just added at the top of the list this will make acad find it first.
    Maybe all of the changes you are changing are not getting loaded because
    there is a second copy of your menu that acad is finding first.

    Here is a line from my Rick.mns I only use large buttons.
    ID_UserButton_1 [_Button("2k", "ICON_16_BLANK", "LG2K.BMP")]^C^C2k

    I made a "Rick" folder containing my custom menu "Rick.mn*" files this also
    contains all of the bmp files the "Rick" menu uses.
    Then I placed the path into the acad search path.

    Whenever you edit the mns file acad sees that the time and/or date of the
    file has changed and automatically updates the mnc & mnr files.

    Rick
     
    Rick Keller, Sep 17, 2004
    #6
  7. Homerloew

    Homerloew Guest

    Rick,

    Thank you very much, I believe I have things fixed. I did find a copy of an old custom.mns ahead of the correct .mns. When I deleted the old .mns and placing the folder #1 in the path toolbars came in the way they should.

    Again, thank you to all who helped.

    don
     
    Homerloew, Sep 17, 2004
    #7
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.