Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Button to insert specific block

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
1629 Views, 3 Replies

Button to insert specific block

Is it possible to make a tool bar button that
inserts a specific block? I have a certain block I use all the time. It would be
great if I could make a button that would just drop it in without having to do
ddinsert, browse, etc.

 

Thanks for the help!
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

if you type in the exact pathname,(drive/folder/etc.)
you should be able to write a tool box that will load
your block. it should look something like: insert; block,
pathname; pick point;(and what ever you want from there), don't be shy with what you type in, just keep experimenting until you get what you want and check the help menu for the precise syntax for; commands, returns, and pick points. i think it will take a little time but it should work
just fine. "autocad lt" is a little bit more fragile than full "autocad" but it's close enough when it come to writing tool boxes. good luck, hope this helps, carl welch.
Message 3 of 4
Anonymous
in reply to: Anonymous

If it is a block you use all the time, place it in a folder that is part of
the AutoCAD search path (like your standard symbols folder for example),
then create a simple toolbar macro like this:

^C^C_-insert;MYBLOCK

If you need to automate the process even further, you can predefine a
standard insertion location if you want, run through the Insert options
quickly, or even set scale and rotation if you want:

^C^C_-insert;MYBLOCK;\;;\
or
^C^C_-insert;MYBLOCK;_sc;$M=$(*,$(getvar,dimscale),1);\

--
Dean Saadallah
www.pendean.com
--

"carlslist" wrote in message
news:f07d3f6.0@WebX.maYIadrTaRb...
> if you type in the exact pathname,(drive/folder/etc.)
> you should be able to write a tool box that will load
> your block. it should look something like: insert; block,
> pathname; pick point;(and what ever you want from there), don't be shy
with what you type in, just keep experimenting until you get what you want
and check the help menu for the precise syntax for; commands, returns, and
pick points. i think it will take a little time but it should work
> just fine. "autocad lt" is a little bit more fragile than full "autocad"
but it's close enough when it come to writing tool boxes. good luck, hope
this helps, carl welch.
>
Message 4 of 4
Anonymous
in reply to: Anonymous

And you can add a * (asterix) to the beginning of the macro.

*^C^C_-insert;MYBLOCK;\;;\

To make the macro repeat itself.

Conny

Dean Saadallah wrote:
>
> If it is a block you use all the time, place it in a folder that is part of
> the AutoCAD search path (like your standard symbols folder for example),
> then create a simple toolbar macro like this:
>
> ^C^C_-insert;MYBLOCK
>
> If you need to automate the process even further, you can predefine a
> standard insertion location if you want, run through the Insert options
> quickly, or even set scale and rotation if you want:
>
> ^C^C_-insert;MYBLOCK;\;;\
> or
> ^C^C_-insert;MYBLOCK;_sc;$M=$(*,$(getvar,dimscale),1);\
>
> --
> Dean Saadallah
> www.pendean.com
> --
>
> "carlslist" wrote in message
> news:f07d3f6.0@WebX.maYIadrTaRb...
> > if you type in the exact pathname,(drive/folder/etc.)
> > you should be able to write a tool box that will load
> > your block. it should look something like: insert; block,
> > pathname; pick point;(and what ever you want from there), don't be shy
> with what you type in, just keep experimenting until you get what you want
> and check the help menu for the precise syntax for; commands, returns, and
> pick points. i think it will take a little time but it should work
> > just fine. "autocad lt" is a little bit more fragile than full "autocad"
> but it's close enough when it come to writing tool boxes. good luck, hope
> this helps, carl welch.
> >

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

Post to forums  

Autodesk Design & Make Report

”Boost