Field values contain xref name

Field values contain xref name

TomHia
Advocate Advocate
457 Views
2 Replies
Message 1 of 3

Field values contain xref name

TomHia
Advocate
Advocate

Hi,

 

AutoCAD 2021.

 

I think it's related to general setting rather than dynamic blocks.

I've created dynamic blocks in a file which is xrefed in the main drawing. Those blocks contain an attribute with a field pulling out the blocks' names. I've tried to set the fields using both the NamedObject and BlockPlaceholder fields and the result is the same.

 

The issue: attributes with name fields containing blocks name show the xref name together with the block's name. If I unload and then reload the xref its name is gone and it looks fine but still always prints with the block's name. Regenerating the file brings xref's name back.

 

What is expected:

1.PNG

 

What is shown in the main file:

2.PNG

What could be an issue?

 

Best regards,

Tom

 

0 Likes
Accepted solutions (1)
458 Views
2 Replies
Replies (2)
Message 2 of 3

cadffm
Consultant
Consultant
Accepted solution

Hi,

 

the blockreference you are talkling about is inside the xref file, not in the main file?

If so, xrename|blockname is the real blockname (in your main file) and the field works as designed.

 

 
 

 

 

Sebastian

0 Likes
Message 3 of 3

TomHia
Advocate
Advocate

Yes, those blocks reside in the xrefed file.


@cadffm wrote:

If so, xrename|blockname is the real blockname (in your main file) and the field works as designed.

 


That's....sad.

 

Thanks for clarification.

0 Likes