ellen finkelstein logo

Ellen Finkelstein.com
AutoCAD PowerPoint About Links
       

Over 130 AutoCAD tips and tutorials!

AutoCAD Tips
AutoCAD Tips Blog

Get free tips!
Sign up for our monthly tips newsletter. Free, bonus e-booklet!


RSS: What is it? Why do I want it? How do I get it?

Add to My Yahoo!
Subscribe with Bloglines

Buy a Book

E-mail This Page 
to a Friend

Submit a tip! If you include your name and I post your tip, I'll give you credit.

AutoCAD Tips & Tutorials

AutoCAD tutorial: Replace one block with another block

I received a question about how to replace one block with another block. Replacing blocks is useful for 3 reasons:

  • To create multiple versions of a drawing, each with a different block. For example, you could try out a floor plan with different desks.
  • When your company replaces one part with another part
  • If your drawing is very complex, to reduce regeneration time, by replacing a complex block with a simpler one. Of course, before plotting, you would reverse the replacement.

There are two methods to replace one block with another.

Use Express Tools BLOCKREPLACE

This Express Tool lets you replace one block with another globally in a drawing. Follow these steps:

  1. Make sure that the new block you want to insert is defined in the drawing. (If necessary, insert it to check.)
  2. Choose Express> Blocks> Replace Block with Another Block or enter blockreplace on the command line.
  3. In the BLOCKREPLACE dialog box, choose the block that you want to replace from the list of blocks in the drawing.

  1. Click OK.
  2. Still in the dialog box, choose the block that you want to use to replace the original block.

  1. Click OK.
  2. At the Purge unreferenced items when finished? <Y>: prompt, enter y or n.
  3. You see a message, n blocks replaced. Results may not be apparent until next regen. If necessary, do a regen. (In my test, I didn't need to regenerate the drawing to see the new block.)

Use the -INSERT command

This older method allows you to replace a block in your drawing with a file. If necessary, first use the WBLOCK command to export the new block to a file. Follow these steps:

  1. Type -insert on the command line.
  2. At the Enter block name or [?] <square plate>: prompt, enter blockname=filename, where blockname is the name of the block in your drawing and filename is the name of the file containing the block you want to use. If the file is not in the support file search path, type the entire path. (You don't need to add .dwg.) Press Enter. For example:

square plate=c:\drawings\plate

  1. At the Block "square plate" already exists. Redefine it? [Yes/No] <N>: prompt, enter y and press Enter. You see the message: Block "square plate" redefined (with your block name inserted).
  2. At the Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate]: prompt, press Esc to not insert a copy of the new file; all you want to do is redefine the old block.

Here, I replaced the square plate block with the plate block, which was in plate.dwg.

Before the replacement:

After the replacement:

 

 

Back to main tips menu for more tips

Page copy protected against web site content infringement by Copyscape


Books by Ellen

New!
AutoCAD 2009 and AutoCAD LT 2009 Bible

This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more.

AutoCAD 2008 and AutoCAD LT 2008 Bible
Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.

AutoCAD 2007 and AutoCAD LT 2007 Bible 
Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.

AutoCAD 2006 and AutoCAD LT 2006 Bible 
Understand and use the 2006 features, including dynamic blocks and the new method of customizing menus and toolbars. CD-ROM has AutoCAD trial, software, and drawings for all exercises.


AutoCAD 2005 and AutoCAD LT 2005 Bible
Fully explains latest 2005 features:  tables, fields, and sheet sets. For the first time, covers AutoCAD LT! CD-ROM comes with software and drawings for all exercises.


AutoCAD 2004 Bible

Covers all features in detail. Hands-on exercises. Over 1300 pages + CD-ROM with software and drawings for all exercises.

                                  Home  |  AutoCAD  |  PowerPoint  | E-StoreAbout  | Links | Contact | Site Map
Copyright Ellen Finkelstein, Inc.