rcb007 Posted February 24, 2022 Posted February 24, 2022 I have a block which has an attributed with a field value in it. When I double click the block I placed a field value to the current layer name that the block is on. When I Xref the file into a new file. The Block shows the XREF-NAME | Layer Name. How can i get it to read just the Layer name and not with the XREF name in front of it? Thanks! Quote
Dana W Posted February 25, 2022 Posted February 25, 2022 (edited) The problem is that once the drawing is an xref, then the layer list in the drawing xref'ed to, needs to be updated with unique layer names appended to the existing list. Whether or not the xref layers are already unique you still get the xref- or xref_ out in front. Not doing so would lead to all sorts of problems with many of the layer manipulating command results, for instance LAYISO (Layer Isolate). Otherwise you may as well just copy the 2nd drawing into the first and be done with it. Are you doing any operations on this field based on the original layer name, like a LISP routine or something? If not then life is too short for the small stuff to become a big problem. Put a wipeout in the block over the end of the field text box where the XREF- part of the name shows. Edited February 25, 2022 by Dana W Quote
rcb007 Posted February 28, 2022 Author Posted February 28, 2022 Thank you for the response. Honestly, yes this ties to using a routine. This was geared more towards using a matchline block with the layer name being match line area. I was trying to figure to remove the (XREF) name, but if its something that needs to be done manually then, that is how it would go. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.