• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

carry a drawing all over the layer 0

  • Thread starter Thread starter danilo_t.
  • Start date Start date

danilo_t.

Guest
Hello everyone, I'm new. I believe I have written in the right section otherwise I apologize and I kindly ask administrators to move the discussion.

My problem is as follows:

I have a plant design of a large industry in size .dwg about 100 mb. who has made the design has inserted machines for industrial processing (supplied by the same manufacturers of machines) that are full of layers blocks of blocks etc... It's full.

to me some machines do not need to erase some my file has reduced to about 72 mb but there are always some machines, blocks of shelving and what else should remain in the design.

I would like to carry everything on the zero layer and to calculate the 900 and pass layers that are in the design that I don't need anything. How do I do that?

if they select the whole design and carry everything on layer 0 and then use the laydel command and select all the layers to eliminate them, it also eliminates me parts of machines that I need because maybe in the block or worse in the block block there are references to those layers that autocad did not convert me into layer 0.

I also thought of exploding the whole design several times so that all the blocks became simple elements and being able to pass them comfortably on the layer 0 but when I do this operation I lock the pc because it clearly tells me that some blocks can not explode them.


and set up some command that allows me to copy the design and paste all the content as layer 0? also the blocks and blocks of the blocks that are there? if I do not ask much by making remain unchanged the properties (color, type of line etc) of the elements of the design.


it's unthinkable that you have to enter every block explode it several times, change the content in layer 0, restore the original colors etc... we are talking in a remarkable industry... It would take me a long time.


How can I do that? I'm desperate. :confused: the end is to have all the design on a single layer if possible but the most important thing is to reduce the size of the file (fall 900 and pass layers that are there. )
 
How can I do that? I'm desperate. :confused: the end is to have all the design on a single layer if possible but the most important thing is to reduce the size of the file (fall 900 and pass layers that are there. )
bhè 900 leyers do not generate a file of 100mb, exploding everything and putting everything on layer 0 certainly does not reduce the size, indeed, if there are repeated blocks exploding them become entities that are counted double that would worsen the situation.

that gives you error with the leydels is normal because if you select a block and put it on layer 0 you don't move all its entities on layer 0 but only block (I don't explain why, it would become long but I assume that you know the autocad bases)

the only thing you can do is verify he in the design there are no obsolete entities, use the _purge command or delete to check if there are any blocks or layers without reference.

If you are not, bhè 100mb is the weight of that file, if you want to keep everything I don't think you can decrease the size.

then if you want to put everything on layer 0 for other reasons... Well, this is another story. you can do with a macro however the process is that, explode all the blocks, redefine the properties (layer) and recreate the blocks.

Your only salvation in this case is that all the blocks have been created on layer 0 so that moving on high layer adopt it by property, but from what you say it doesn't seem like that.

I could go on a lot, but maybe before it is better to understand a) your knowledge, b) what you really want to do.
 
Thank you very much for the answer. I solved with the _purge command:) but if you want to bring everything back to the zero layer? I read that there is a blockenprops command or something. You know how it works? Thank you so much!
 
Thank you very much for the answer. I solved with the _purge command:) but if you want to bring everything back to the zero layer? I read that there is a blockenprops command or something. You know how it works? Thank you so much!
what you have suggested on cadlandia is a macro that does to your case, download the attachment drags the blockentprops.dvb file in autocad and then from the tools-> macro-> execugui

a mask appears quite simple to understand and this should solve your problem.

It obviously does not work on lt but from what I read you use autocadfull.
 
use autocadfull... thanks and thanks to you gp. :

So is this method intuitive enough with .dvb? Do I just need to download the attachment dragging in autocad and my dialog pops up? I don't have to install anything?
 
use autocadfull... thanks and thanks to you gp. :

So is this method intuitive enough with .dvb? Do I just need to download the attachment dragging in autocad and my dialog pops up? I don't have to install anything?
No no you don't have to install anything... follow the commands described above and works.

you do not have to install anything in fact is incorrect, yet I do not know what version of autocad you use, since 2010) the vba is not included in the installation, but download it from the autodesk site without problems.
http://usa.autodesk.com/adsk/servlet/item?siteid=123112&id=12715668&linkid=9240618
 
I use autocad 2009-2010-2011. depends on where I work. then from 2010 on I have to download the vba while for the .dvb? where do I unload the compressed file?
 
I use autocad 2009-2010-2011. depends on where I work. then from 2010 on I have to download the vba while for the .dvb? where do I unload the compressed file?
I can't link here otherwise I get inc....no with sand... is another forum.

go where you asked the question look for blockentprops and download the zip file.
 
ok ok ok understand :) the problem that I can not use x(

I can't load the .lsp file in autocad...
 
I understand, I have succeeded...:) but one thing still is not clear to me.

options are:

-don't change (it turns all the inside of the blocks into white... I know why.
-byblock (it turns everything into function of the color assigned to the block)
-bylayer (it turns everything according to the color of the "output" layer)

but if I have multiple different blocks that inherit the color from the layer to which they belong, how do I keep their color unchanged by transferring them to layer 0? :
 
Look, that macro I saw her (unproven) today as well, so I don't know exactly how it works.
inside the zip file there is a help file that should explain its operation.
blocks can be created in various ways, which either hereditate or not the properties (color line etc.) if you put everything on layer 0 and keep the color that they have (very likely from layer) should be set the color object and not from layer.
 
Example 1
block1: circle on layer "drawing" the design layer has green and dotted properties.

if you move the block on the layer 0 obviously the circle will become white and continuous

example 2
block1: circle on layer "drawn" the circle veins forced to green color and forced line to dotted.

if you move the block on the layer 0 the circle will remain green and dotted (with the program downloaded ehh).
 
Yes but the problem arises if I have hundreds of blocks... I can't force one to one =(
 
Yes but the problem arises if I have hundreds of blocks... I can't force one to one =(
as already mentioned above, miracles did only one and ended badly at 33 years.

you can rewrite an ad hoc macro, but it takes time and at this moment I don't have it. It seems to me that both in this forum and in others all have been available to simplify things... now something you have to do, too, if the blocks were created that way and you do more.. bhè or change a little what you want to do or you go through one by one, autocad is not that you can take it turn and turn it as you like... That's...
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top