Categories

AutoCAD 2015 and AutoCAD LT 2015 BibleAutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Convert slide libraries/image tile menus and tablet menus to tool palettes

(For Releases 2004 and 2005)

If you have custom menus that you have been using for inserting blocks, you know that creating and maintaining these menus is a major project.

If you have a digitizing tablet, you may be using the Tablet 1 section of the tablet menu. If you change a block, you need to edit the menu, create a new image, edit tablet.dwg, and finally replot tablet.dwg to place the new version on your digitizing tablet.

Or you may have created a slide library with slides of your blocks and your customized commands. You may have put the slide library images in an image-tile menu that you display from a pull-down menu item that you have created. Making changes involves editing the menu, recreating the slide, editing the slide list, and recompiling the slide library from the command line.

In both scenarios, you needed to reload the new menu.

Did you find this tip helpful?
Don't miss new tips!

Plus get a free Dynamic Blocks tutorial

Enter your name and email below

A simpler method is to use tool palettes. A reader, Ronald E. Walker, asked me several questions about the new tool palettes and together we worked out the following procedure. He has used slide libraries in the past and is converting them to tool palettes. First I explain the steps for AutoCAD 2005. Afterwards, I explain what you need to do in 2004.

Steps for 2005

  1. In the drawing containing the block, type PNGOUT. (This command creates a PNG file, one of the file types that the tool palettes uses to create the icons. It creates small, accurate files.)
  2. In the Create Raster File dialog box, name the file and choose a location in your support file search path. Click Save.
  3. At the Select objects: prompt, select the block.
  4. Right click in an open area of a tool palette and choose New Tool Palette to create a new tab.
  5. Right-click an open area of the new tab and choose Customize. In the Customize dialog box, click the Commands tab.
  6. Click and drag any command from the Commands area on the right side of the dialog box to the Tool Palette. (The exact command is not important, because you will edit it.)
  7. In the Tool Palette, right click the command tool and choose Properties.  The Tool Properties dialog box opens, shown here.
  8. In the Command String item, enter your command string. You can copy and paste from your menu.
  9. Change the name and description in the appropriate text boxes.
  10. Right click the image in the upper left corner of the dialog box, as shown here, and choose Specify Image. (You may just see a square.)
  11. Navigate to the PNG file you saved earlier and click OK.
  12. Click OK to close the Customize dialog box.

Note, if you don’t see the image clearly, you may need to crop it in an image editor.

Editing the tool palette is easy. Just edit the Command String to change the macro. However, if you change the block, you need to update the image. This process is not automatic. The easiest method is to right-click the tool, choose Properties, and right-click the image. Choose Select Image, choose a different image, and click OK. Then repeat the process with the correct image to update the image.

Steps for 2004

In 2004, you need to work directly with the .atc files that create the tools. To find their location, choose Tools>Options and click the Files tab, and double-click Tool Palettes File Locations. In that folder you’ll find a Palettes folder containing the .atc files plus an Images folder that contains the images used by the icons.

The .atc file is a text file that you can modify. It has many codes that I certainly can’t figure out, but for a command tool palette, the important parts are the tool name, image file, and the macro that executes the command. Here is an example of a command tool palette that simply executes the line command.

You can download this .atc file.

Note that the image is in PNG format. To create the PNG file, see the steps above for Release 2005.

To create the tool palette, follow these steps:

  1. Edit the .atc file to change the tool name, the image name, and the command macro itself to suit your needs.
  2. Create a new tool palette. (Right-click and choose New Tool Palette. Name the palette and press Enter.)
  3. Open Windows Explorer and find your .atc file.
  4. Drag the .atc file to the palette. (You probably need to adjust your Windows Explorer window so you can see both the file and the palette.)

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>