AutoCAD 2007/2008/2009

Reply
Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 1 of 11 (444 Views)
Accepted Solution

about Block reference?

444 Views, 10 Replies
01-29-2013 01:35 AM

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

*Expert Elite*
3wood
Posts: 968
Registered: ‎03-25-2009
Message 2 of 11 (435 Views)

Re: about Block reference?

01-29-2013 02:35 AM in reply to: kevinsir

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.

Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 3 of 11 (426 Views)

Re: about Block reference?

01-29-2013 02:56 AM in reply to: 3wood

Thanks for your reply,I will try

Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 4 of 11 (384 Views)

Re: about Block reference?

01-29-2013 06:51 PM in reply to: kevinsir

Maybe XREF it does not meet my requirements。When i delete the A file out, The block A in B is also been deleted. Have any other Ideas? 

*Expert Elite*
3wood
Posts: 968
Registered: ‎03-25-2009
Message 5 of 11 (382 Views)

Re: about Block reference?

01-29-2013 07:00 PM in reply to: kevinsir

Bind the xref with Bind type of 'Bind' (not 'Insert") will do.

Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 6 of 11 (375 Views)

Re: about Block reference?

01-29-2013 07:44 PM in reply to: 3wood

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

*Expert Elite*
3wood
Posts: 968
Registered: ‎03-25-2009
Message 7 of 11 (371 Views)

Re: about Block reference?

01-29-2013 08:28 PM in reply to: kevinsir

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.

Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 8 of 11 (368 Views)

Re: about Block reference?

01-29-2013 09:05 PM in reply to: 3wood

Thanks . I will try!

Valued Contributor
kevinsir
Posts: 78
Registered: ‎08-20-2012
Message 9 of 11 (356 Views)

Re: about Block reference?

01-29-2013 11:23 PM in reply to: 3wood

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!

*Expert Elite*
3wood
Posts: 968
Registered: ‎03-25-2009
Message 10 of 11 (352 Views)

Re: about Block reference?

01-30-2013 12:07 AM in reply to: kevinsir

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube