Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Updating Layer in BlockEdit does not have expected results for exisiting blocks

Anonymous

Updating Layer in BlockEdit does not have expected results for exisiting blocks

Anonymous
Not applicable

I have aprox. 500 instances of a block defined in my drawing, part of the block has attribute text which originally was set to a layer called "TextLayer" . To allow me to bulk eddit my drawings I need to change this layer from "TextLayer" to "Line Number" - another layer I created (reason being that way too many other blocks and objects are assigned to the layer "TextLayer").

The idea is that I can disable / freeze layers and copy / modify text objects with ease ( I am NOT going to manually change 500 or so block descriptions).

 

My problem is now that in my drawing all blocks show as being part of my new layer, but when I freeze all other layers my blocks still disapear - CAD still treats them as being part of the original layer. When I instert a new block this problem does not occur, it is only existing blocks that have this problem, as if they have not been updated with the new layer information. Is there a way to force CAD to update all existing blocks without loosing my attributes?

I tried using "regen" , Match Properties,  and other more exotic commands to no avail... 

 

Any help or guidance is apreciated!

 

 

 

0 Likes
Reply
Accepted solutions (1)
473 Views
2 Replies
Replies (2)

David_W_Koch
Mentor
Mentor

Welcome to the community!

 

Changing the layer of an attribute definition in a block definition will affect newly created blocks, but will not automatically change the attribute on any previously existing instances of the block.  Use the ATTSYNC command to force the changes made to attributes onto existing instances.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes

Anonymous
Not applicable
Accepted solution

Thank you for your response, ATTSYNC removed all my text from my drawing completely, not sure if this had to do with me messing around with the block or if something was wrong historically (I inherrited a lot of the drawing set).

 

My work around was to copy the drawing, and in that drawing select all the blocks via the properties side bar, and move them to a clean area in the drawing. I would then delete all other objects on the drawing, rename the layer to the name I now require, and use Copy with basepoint to add the blocks into my original drawing. I am still working on that sollution but a quick test seems to indicate this works....

0 Likes