Professional Documents
Culture Documents
Adding Lisp Files To A Tool Palette
Adding Lisp Files To A Tool Palette
Right click in the Tool Palette and select “New Palette” to place the new tools on. This
will create a new tab on the tool palette… Give the new palette a unique name.
We now need to populate the new palette with content. The easiest way to do this is to
simply drag something from the drawing area onto the palette and then modify its
properties. Below, I have created a line and then dragged it onto the palette.
To change the tool’s properties from being just another line tool, right click and select
“Properties”
The 5 areas below need to be changed in order for this tool to be the new custom tool:
Advertisements
Related
Up and Running with the 2013 Core ConsoleIn "AutoCAD 2013"
Changing A Block Insertion PointIn "Blocks"
Adding OLE Objects and Make Them PrintIn "Customization"
1. Henrik says:
June 26, 2012 at 2:58 AM
Hi
This is an exciting and interesting blog! I really like looking around in here;)
Could you please help me out with a small autolisp code?
I`d like to make a little program for inserting company logo to title blocks.
When using the attach image command, there is so many steps to go through before the
image gets placed.
What I dream of is a small program that lets me click a button that sends me to a
specified directory where I can select my image file, then the program just lets me place
this image in the right place in title block in layout, prompting for nothing but insertion
point.
Reply
o AutoCAD Tips says:
July 2, 2012 at 11:02 AM
Hello,
What you are basically describing is the same process for inserting a block. I don’t think
that there is a way to bind a picture to a drawing but if you can bind one to a drawing,
that would be the easiest way to go and then a simple lisp or macro that defines where
the block is located on your computer or on the network can easily be made.
the first thing to consider is whether the logo can be converted to autocad objects (lines,
arcs, hatches…) At my previous employer, I would convert logos to blocks because they
plot better and look better on PDFs. If you want, you can send me a pic of the logo and i
will see if I can convert it for you. then we can make a lisp that inserts that block
Reply