AutoCAD 2000/2000i/2002 Archive (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 7
BJBALENTINE
145 Views, 6 Replies

BLOCKS & MENUS

Is it possible, and how would I go about, creating either a pull down menu or use toolbars to access and insert blocks.
Ex. Can I have a pull down menu named "BLOCKS", and under this menu have submenus of specific blocks, asd be able to click that block and it be inserted into my drawing.

Any help would be greatly appreciated.
Thank you
BJ Balentine
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: BJBALENTINE

I have a free utility on my site called Visual PDM for creating pulldown menus for autocad... www.dczaland.com ... then if you want a desired pulldown menu item to insert a block just enter something like this for the macro item --> ^C^C(command "insert" "c-size.dwg" pause pause pause) <--
Message 3 of 7
Anonymous
in reply to: BJBALENTINE

Yes, you can.  First, I'd make a separate
menu file (TEXT file) and place it somewhere you can get to it.  Copy the
following text and modify as necessary.  This is a quick simple example,
assuming that your blocks are located in a directory in your support paths, and
that you simply want to insert your blocks at a 1:1 scale with a rotation of
0.

 

Hope this helps you get started.

 

//
//      AutoCAD
Custom menu file
//

 

***MENUGROUP=<PUT YOUR MENU NAME
HERE>

 

***POP1
**<PUT YOUR MENU NAME
HERE>_POP1
              
[&Blocks]
              
[->BlockGroup1]
                
[BG01]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[BG02]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[BG03]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[<-BG04]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>              
[->BlockGroup2]
                
[BG01]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[BG02]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[BG03]^C^C^C-insert;<blockname>;\;1;1;0;


size=2>                
[<-BG04]^C^C^C-insert;<blockname>;\;1;1;0;

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Is
it possible, and how would I go about, creating either a pull down menu or use
toolbars to access and insert blocks.
Ex. Can I have a pull down menu
named "BLOCKS", and under this menu have submenus of specific blocks, asd be
able to click that block and it be inserted into my drawing.

Any help would be greatly appreciated.
Thank you
BJ
Balentine

Message 4 of 7
Anonymous
in reply to: BJBALENTINE

Why not tie it in to Design Center.  We have
custom pull down menus that open DC to the blocks section of a drawing then it
is a graphical drag and drop.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Is
it possible, and how would I go about, creating either a pull down menu or use
toolbars to access and insert blocks.
Ex. Can I have a pull down menu
named "BLOCKS", and under this menu have submenus of specific blocks, asd be
able to click that block and it be inserted into my drawing.

Any help would be greatly appreciated.
Thank you
BJ
Balentine

Message 5 of 7
Anonymous
in reply to: BJBALENTINE

ADCENTER command is built in and ideal if you organize your blocks in
folders and so on.

If needed, you can also use ADCNAVIGATE command to have ADCENTER open at the
desired location. A simple toolbar button macro would look something like
(replace the obvious as it is specific to my needs only):

^C^Cadcnavigate;X:/LIBRARY/ARCH/WINDOWS/WINBRICK;

--
Dean Saadallah
http://www.pendean.com
LT Express Utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--
Message 6 of 7
Anonymous
in reply to: BJBALENTINE

If I may add on to your instructions:
^C^Cadcnavigate;X:/LIBRARY/ARCH/WINDOWS/WINBRICK/BLOCKS;
and then but all the blocks that are in the sub-category in that drawing.
Makes for a nice graphical "Symbols Library"

"Dean Saadallah" wrote in message
news:92EE5B3582E7F6A029E9EBBE0B25CA7E@in.WebX.maYIadrTaRb...
> ADCENTER command is built in and ideal if you organize your blocks in
> folders and so on.
>
> If needed, you can also use ADCNAVIGATE command to have ADCENTER open at
the
> desired location. A simple toolbar button macro would look something like
> (replace the obvious as it is specific to my needs only):
>
> ^C^Cadcnavigate;X:/LIBRARY/ARCH/WINDOWS/WINBRICK;
>
> --
> Dean Saadallah
> http://www.pendean.com
> LT Express Utilities
> http://www.pendean.com/ltexpress
> Expanded Links Pages
> http://www.pendean.com/lt/links.htm
> --
>
>
Message 7 of 7
Anonymous
in reply to: BJBALENTINE

Tool Palettes in the new AutoCAD 2004 will do exactly what you want.

Just a little plug for the new version of AutoCAD. 🙂

Thanks,
Misha

"David Herrick" wrote in message
news:0B61F79E03C7F2A8A0B1FC8604B9CDA7@in.WebX.maYIadrTaRb...
> If I may add on to your instructions:
> ^C^Cadcnavigate;X:/LIBRARY/ARCH/WINDOWS/WINBRICK/BLOCKS;
> and then but all the blocks that are in the sub-category in that drawing.
> Makes for a nice graphical "Symbols Library"
>
> "Dean Saadallah" wrote in message
> news:92EE5B3582E7F6A029E9EBBE0B25CA7E@in.WebX.maYIadrTaRb...
> > ADCENTER command is built in and ideal if you organize your blocks in
> > folders and so on.
> >
> > If needed, you can also use ADCNAVIGATE command to have ADCENTER open at
> the
> > desired location. A simple toolbar button macro would look something
like
> > (replace the obvious as it is specific to my needs only):
> >
> > ^C^Cadcnavigate;X:/LIBRARY/ARCH/WINDOWS/WINBRICK;
> >
> > --
> > Dean Saadallah
> > http://www.pendean.com
> > LT Express Utilities
> > http://www.pendean.com/ltexpress
> > Expanded Links Pages
> > http://www.pendean.com/lt/links.htm
> > --
> >
> >
>
>

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

Post to forums  

Autodesk Design & Make Report