See the top rated post in this thread. Click here

Results 1 to 6 of 6

Thread: BLOCKS - REDEFINE

  1. #1
    Active Member
    Join Date
    2002-01
    Location
    Richmond, CA Lifer
    Posts
    72
    Login to Give a bone
    0

    Post BLOCKS - REDEFINE

    I understand how to redefine a block by inserting a WBLOCK, but I'd like to update all the currently inserted blocks to match the redefined block.

  2. #2
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: BLOCKS - REDEFINE

    Quote Originally Posted by gugg View Post
    I understand how to redefine a block by inserting a WBLOCK, but I'd like to update all the currently inserted blocks to match the redefined block.
    A "WBLOCK" is simply a block (drawing) that has been W-BLOCKED (write-blocked) out of a drawing, so you're saying you have a (redefined) block that lives outside your drawing that you want to replace existing blocks in a drawing?
    You can simply use the insert the block from outside the drawing and accept "Redefine block".

    Or in a script to do many (use your block name and path):
    Code:
    -insert
    "blockname=C:\blockname.dwg"
    0,0,0

  3. #3
    Member
    Join Date
    2015-08
    Posts
    18
    Login to Give a bone
    0

    Default Re: BLOCKS - REDEFINE

    You could also try using Design Center. Open two files. One with the old block definition and one with the new. From the file with the old definition open Design Center and select the file with the new block. Find the new block in the block list, right click it and redefine. That should do it.

  4. #4
    I could stop if I wanted to
    Join Date
    2015-05
    Location
    West Des Moines
    Posts
    306
    Login to Give a bone
    0

    Default Re: BLOCKS - REDEFINE

    If you still need to edit the block it's a simple BEDIT command to edit the block in the drawing that will update every instance of the block. Technically could just grab all the linework, text, etc of the new block, BEDIT the old block, and drop it over the old block, nuke the old stuff and save the block out, but if the block is outside the drawing the ADC command that ASM78 noted is the way I've done it in the past.

  5. #5
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    1

    Default Re: BLOCKS - REDEFINE

    I use the lisp function attached added to the macro below in my Block Reference Object Menu for that.
    If I right-click a selected block and pick 'Reinsert Picked Block' it will either show the path and file offering to insert it or if it wasn't found in the support path the open file dialog box is displayed so you can find and select the file yourself.

    Name Reinsert Picked Block
    Macro ^C^C^P(or C:BlkUpd (load "BlkUpdate.lsp"));BlkUpd
    Element ID ID_Reinsert
    Attached Files Attached Files

  6. #6
    Active Member ervin_david's Avatar
    Join Date
    2004-07
    Location
    Southeastern USA
    Posts
    98
    Login to Give a bone
    0

    Default Re: BLOCKS - REDEFINE

    "Edit Reference In-Place" tool will allow you to edit a block in a drawing and, when saved, will redefine all instances of that block in that drawing.

Similar Threads

  1. Redefine Dynamic Blocks
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2015-11-17, 08:41 PM
  2. Multiple block insertion with a script to redefine existing blocks?
    By drafterjohn in forum AutoCAD Customization
    Replies: 5
    Last Post: 2009-08-10, 01:52 PM
  3. Dynamic blocks will not redefine correctly.
    By kb3cxe in forum AutoCAD LT - General
    Replies: 7
    Last Post: 2007-11-07, 01:37 PM
  4. Blocks will not redefine when inserted
    By bholden.97697 in forum AutoCAD General
    Replies: 9
    Last Post: 2005-10-28, 04:56 PM
  5. Using entmake to create (redefine) Blocks
    By melkor in forum AutoLISP
    Replies: 2
    Last Post: 2005-01-26, 11:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •