Anuncios

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

Block Lines Not Updating

Anonymous

Block Lines Not Updating

Anonymous
No aplicable

Hi Folks,

 

bit of a different/interesting problem here. i have been given a site layout to edit for a client and have been going through and cleaning it up. there are a large number of blocks in the drawing and i want to put them all on new/correct layers. however when i do the lines/test in the blocks are not addopting the new layer attributes.

 

My workflow;

  1. edited all blocks and put all entities (as required) on layer 0 with all properties set as "by layer". (The block lines/text take on layer 0 attributes in the editor and when i exit the editor the entities are all white as if they are on layer 0. if i turn the visibility of layer 0 off the entities disapear as if they are on layer 0.)
  2. created new layer with correct attributes
  3. placed block on to new layer
  4. nothing changes.

what i have tried to fault find this;

  1. exploded all entities in the block (no other blocks inside blocks) - no change
  2. double checked all entities are on layer 0 with properties set to "by layer" - everything is set correctly
  3. tried adding some new entities on layer 0 to see if they would act as expected - they did not
  4. tried a "RE" redraw - no change
  5. tried inserting a new version of the block and changing it - no change
  6. tried changing some settings on the block in the block dialog box then "redefining" it when inserting - no change
  7. tried creating a new block on layer zero and then placing that on a new layer - same behavior, lines do not adopt layers attributes.
  8. copied the block to a new drawing and placing it on layers in the new drawing - block behaves as expected. not only does this work but it brings the layer it was on in the drawing that i am having troubles with and responds as expected in the new drawing on the copied layer!! so this leads me to believe that it is a setting in the original drawing. i did try to copy the whole thing and paste it into a new drawing, but it fails every time i try.

so does anyone have any idea on why the blocks wouldn't be updating? what is set to zero that should be set to one or vise versa?

 

to add to this, i have a feeling that if this drawing was created in autocad it was done a LOOOONG time ago. but i have a feeling it may have come from another program, or at least large chuncks of it have, due to the names of a lot of the blocks and layers. (not xref names.)

 

Thanks in advance for any help.

0 Me gusta
Responder
Soluciones aceptadas (2)
1.053 Vistas
4 Respuestas
Respuestas (4)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

can you upload the drawing with that special block inserted?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

john.vellek
Alumni
Alumni
Solución aceptada

Hi @Anonymous,

 

It does sound like some strange behavior.  Please attach the drawing so I can take a look.

 

Are there any proxy objects in the drawing?

 

What happens if you run SETBYLAYER?

 

Please select the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback

Anonymous
No aplicable
Solución aceptada

 

OK, so yesterday  after posting this i tried a couple more things to get this working.

 

Yesterday i worked out that there was a block with proxy graphics (a leader in this case) that was stopping the copy function from working. so once that block was exploded i could copy everything. once in a new DWG i could do everything as expected with the blocks and the ones i had already changed were working properly in the new drawing. so all was good there.

 

this made me wonder if maybe there was something funny going on with the layers though. Like maybe someone had renamed or changed Layer 0. which i knew wasn't possible, but maybe if this drawing had come from a different program it was a translation issue. so i tried to delete/rename Layer 0 to make sure no one had done anything funny with the layers. As expected i couldn't. This led me to believe that everything was fine with the layers.

 

so just now i thought to give you guys a copy of the drawing i would delete everything out of the drawing and purge it then post a copy of the DWG for you, as i figured it would be a setting in the DWG file that was amiss as opposed to the content in it. low and behold when i purged it i got rid of everything except for 2 layers. layer 0 (which was active) and a layer called "BASE" so i tried to manually delete base and it gave me the "Layer _ Not deleted" dialog that comes up when you try and delete/rename layer 0. so i tried to create a block with lines on layer "BASE" and what do you know, it works like layer 0. so i tried changing one of the blocks in the original drawing to layer "BASE" and it works as expected.

 

so i would assume that this DWG  was exported/created from another program and changed/added to over the years and no one ever noticed or cared to work out why layer 0 wasn't working properly.

 

thanks for the responses folks, and if you really want a copy of the drawing please let me know and i can post the "blank" version with the 2 layers in it.

0 Me gusta

Anonymous
No aplicable

Just to double check i tried the SETBYLAYER command on a couple of blocks and nothing changes. thanks for the tip though, i will be using that in the future! Emoticono feliz

0 Me gusta