I have two the same the dwg file A and B. I create a new a single layer in A and move all entities to this single layer, then delete all layers in A reserved for the layer and 0 layer . Then open the B, insert the block A to B. Now, everthing is Ok except the color. In my mind , the color of block A in B will have the same color because I set all the entities color bylayer,but it is not. Why is that and How can I set the color of these entities to the color of the singe layer? the follow Attachments first is A, second is B
Solved! Go to Solution.
The reason is because in both drawing A and drawing B there are blocks with same names. Hence when Drawing A is inserted into B, the block definition in drawing B take priority.
So the solution is, instead of INSERT, please use XREF.
I am sorry that I am new. when I Bind the xref with Bind type of 'Bind' The A block is invisible. but the layer of A is exist,maybe having something that i do not take notice
There are errors in both of your files. You need AUDIT to fix them before XREF A to B.
I attached the successful result below.
Always ensure the files are from trusted sources.
Thanks very much for your help. I think you have solved my problem。 Howerver do you have any time to solve my other problem follows。
A1 and B1
In both drawing A1 and drawing B1 there are blocks with same names
But color of A1 is not changed with B1 when insert A1 into B1
Can you help me to find the reason!
The reason is because
In your previous drawing A, in the block which color follows drawing B when inserted, there are some entities which layer is 'xxxx'. But in drawing B, the block with the same name has entities which layer is 'yyyy'. So when drawing A is inserted in B, such block definition in drawing A is ignored and the color will be the same as Layer yyyy.
In your drawing B1, entities in blocks are put in Layer 0 and color are set to ByLayer hence its color is not determined by Layer 0 but the block layer instead. When drawing A1 is inserted into drawing B1, the block definition is replaced with the one defined in drawing B, so the block color is same as its layer color. The blocks in B1 are in Layer 'ssss' which is green but the same blocks in A1 are in Layer 'tttt' which is white.
In a summary, check the block definition in drawing B1. If the sub-entities are set on Layer 0 and Color Bylayer, the same blocks in inserted drawing will keep its own layer color.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.