Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Image Menu and Toolbars Do Not Work in AutoCad2000i

8 REPLIES 8
Reply
Message 1 of 9
deborah
234 Views, 8 Replies

Custom Image Menu and Toolbars Do Not Work in AutoCad2000i

I made custom toolbars and a custom Image menu for AutoCad14. We recently updated to 2000i. I loaded my custom menu with the menuload command as I did in R14 and everything seemed to load correctly. Toolbars came up correctly (no smiley faces etc.), but when I pick on any of the icons the Layer Properties Manager Dialog Box comes up. Has anyone run into this problem? I made sure it is in the search path. I have done everything just as I did in R14. If this is too vague please let me know and I will be happy to supply more information.
8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: deborah

What command is supposed to run? 

If you are using the layer command, try
-layer


 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
made custom toolbars and a custom Image menu for AutoCad14. We recently
updated to 2000i. I loaded my custom menu with the menuload command as I did
in R14 and everything seemed to load correctly. Toolbars came up correctly (no
smiley faces etc.), but when I pick on any of the icons the Layer Properties
Manager Dialog Box comes up. Has anyone run into this problem? I made sure it
is in the search path. I have done everything just as I did in R14. If this is
too vague please let me know and I will be happy to supply more
information.
Message 3 of 9
deborah
in reply to: deborah

For the image menu it is different I.D. Mark location blocks that I created and you just have to pick the image and it inserts the block. The toolbars are basically the same thing. One toolbar icon has P.I. on it. When you pick that icon it inserts the block P.I. Now when I pick any of the images or toolbar icons, instead of it inserting the correct blocks, the Layer Properties Manager Dialog Box comes up which has nothing to do with what I am inserting with my custom menus.
Message 4 of 9
Anonymous
in reply to: deborah


 

i hope this is what you are looking for, images?
icons? toolbars?...

at the begining of the .mnu file that is being
menuloaded

make sure you define a unique name ex
***MUNUGROUP=DEBORAH

then whenever you have an image (or icon as
they used to be called)

make sure the menugroup is introduced as shown
below

^C^C$I=DEBORAH.MYBLOCKS $I=*

Mark


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
For
the image menu it is different I.D. Mark location blocks that I created and
you just have to pick the image and it inserts the block. The toolbars are
basically the same thing. One toolbar icon has P.I. on it. When you pick that
icon it inserts the block P.I. Now when I pick any of the images or toolbar
icons, instead of it inserting the correct blocks, the Layer Properties
Manager Dialog Box comes up which has nothing to do with what I am inserting
with my custom menus.
Message 5 of 9
Anonymous
in reply to: deborah

What is the command behind one of the buttons that
is causing the problem?


 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
For
the image menu it is different I.D. Mark location blocks that I created and
you just have to pick the image and it inserts the block. The toolbars are
basically the same thing. One toolbar icon has P.I. on it. When you pick that
icon it inserts the block P.I. Now when I pick any of the images or toolbar
icons, instead of it inserting the correct blocks, the Layer Properties
Manager Dialog Box comes up which has nothing to do with what I am inserting
with my custom menus.
Message 6 of 9
deborah
in reply to: deborah

Mark & Jim,

This is what I have at the beginning of my menu which works in R14:
***MENUGROUP=ALCOA
***POP1
[ALCOA]
[BLOCKS]$I=ALCOA.BLOCKS $I=*

This is one of the buttons:
[_Button("PI", "PI.bmp", "ICON_24_BLANK")]^C^CLAYER S DIMS;;INSERT PI \1 1 0 \

All of this works fine in R14. I don't know what I am missing in 2000i.
Message 7 of 9
Anonymous
in reply to: deborah

[_Button("PI", "PI.bmp", "ICON_24_BLANK")]^C^CLAYER S DIMS;;INSERT PI \1 1
0 \

 

put a - before the layer and the
insert

[_Button("PI", "PI.bmp", "ICON_24_BLANK")]^C^C-LAYER S DIMS;;-INSERT PI \1
1 0 \
--
Jim Claypool

href="mailto:jclaypool@kc.rr.com">jclaypool@kc.rr.com

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Mark
& Jim,

This is what I have at the beginning of my menu which works in R14:

  • **MENUGROUP=ALCOA
  • **POP1 [ALCOA]
    [BLOCKS]$I=ALCOA.BLOCKS $I=*
  • This is one of the buttons:
    [_Button("PI", "PI.bmp",
    "ICON_24_BLANK")]^C^CLAYER S DIMS;;INSERT PI \1 1 0 \

    All of this works fine in R14. I don't know what I am missing in
    2000i.

    Message 8 of 9
    deborah
    in reply to: deborah

    Jim,

    I did change it on that one and it worked. I have alot of items to change but if it works it will certainly be worth it. Just one question? Why do I have to do that for 2000i and did not have to for R14? Thanks alot for your help.
    Message 9 of 9
    Anonymous
    in reply to: deborah

    This was a program change in AutoCAD
    2000.

    In R14 you had to use ddinsert to get to the insert
    dialog and I don't know

    what to get to the layer dialog (I never used it
    that way).

     

    In a text editor (WordPad will do), you can do a
    find and replace in the .mns file


     

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    Jim,

    I did change it on that one and it worked. I have alot of items to change
    but if it works it will certainly be worth it. Just one question? Why do I
    have to do that for 2000i and did not have to for R14? Thanks alot for your
    help.

    Can't find what you're looking for? Ask the community or share your knowledge.

    Post to forums  

    Autodesk Design & Make Report

    ”Boost