Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

updating blocks

Anonymous

updating blocks

Anonymous
No aplicable

I am inserting lots of blocks into a drawing. The recieving drawing has a block with the same name. The block I am inserting has been updated and reverts back the earlier version in the recieving drawing. In the past i deleted the block first and then inserted, which is laborious. I tried changing the names etc. is there a simpler way of doing it.

  

0 Me gusta
Responder
324 Vistas
4 Respuestas
Respuestas (4)

David_W_Koch
Mentor
Mentor

Are you inserting a single file that contains multiple block definitions that you would like to update?  In that scenario, if there are blocks in target file that have the same names as blocks in the file being inserted, the target file definition will "win" and the definition will not be updated.

 

To update the block definitions in the target file, you can take one of the following approaches:

  1. WBLOCK each revised definition in the source file revised definitions out to its own file.  Then use the INSERT command, and, in the insert dialog, use the Browse button to browse to and select each WBLOCKed file (one at a time).  When you click OK to execute the insertion, you will get a dialog asking if you want to overwrite the current definition.  Do so.  If you do not need another instance of the block, you can press the ESC key after the definition is updated; otherwise, you can place the block where desired.  Repeat for each redefined block.
  2. Open both the target file and the source file.  Make the target file the current drawing.  Open the DesignCenter, and choose the Open Drawings tab.  Expand the source file node in the left pane, and choose the Blocks node under the source file.  In the top right pane, right click on one of your updated blocks and choose either Insert and Redefine or Redefine only from the context menu, depending upon whether or not you want to add additional instances or not.  Repeat for each redefined block.

If you have a lot of blocks to redefine, the second option is likely easier if you are going to do it manually; if this is something you do frequently, you may want to take the time and/or expense of creating or acquiring some form of customization that could automate some or all of the steps in the first option.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Me gusta

imadHabash
Mentor
Mentor

Hi and Welcome to AutoCAD Forum,

Blocks can not inserted with duplicated names ... i mean that every block MUST have a unique name . for me you can try RENAME command to serve your issue . 

 

Regards,

Imad Habash

EESignature

0 Me gusta

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... The recieving drawing has a block with the same name. The block I am inserting has been updated and reverts back the earlier version in the recieving drawing. In the past i deleted the block first and then inserted, which is laborious. ....  


If that updated definition of the Block is a drawing file, of the same name  as the Block name in the current drawing, and it's in the support file search path list, you can do this:

 

-INSERT  BlockName=

 

Note the hyphen before the command name to get command-line rather than dialog-box operation, and the = sign with nothing after it, which means look for a drawing of the same name, and use its contents as the Block definition.  Answer Yes to the question whether to redefine it.  Once you have answered that, the revised definition will have been brought in, replacing/updating the definition for all existing insertions of that Block name, and you can cancel without completing the command if you don't want to Insert another one.

Kent Cooper, AIA
0 Me gusta

cory.simons
Enthusiast
Enthusiast

If you are inserting a new block and remove an old block with the same name, then you will need to type the command PURGE and purge any nested items.  What this does is removed any unseen data that is left behind from the previous blocks that you want to get rid of.  Then type REGEN to refresh your drawing.

0 Me gusta