Jump to content

Requested: Changing the name of layers of Xref after bind


Ahankhah

Recommended Posts

Hi all,

as most of you know after xbinding an xrefed drawing into current drawing, layers name change in this format:

$#$
where:
xref file name before xbind.

$#$ a number between two $ signs.

layer name in the xrefed file.

should anyone offer a way to change the name of layers to their original name? Note that sometimes layer names after omitting two first parts of them will be same as existing names.

 

I appreciate any help or spending time for this.

 

 

 

Link to comment
Share on other sites

Tiger, thank you for your offer, but I search a way to do it via LISP.

May be your idea helps me to try on replacing Xrefed file to inserted one.

Thank you again, Tigerwoman;).

Edited by Ahankhah
Link to comment
Share on other sites

Can you bind an xref via Lisp? How? I can't seem to find the commands for that.

 

Huh, I found the command but it doesn't give the options that the Bind-dialogue gives...

Link to comment
Share on other sites

It will be done by setting Bindtype system variable to 1

 

 

Bindtype: Controls how xref names are handled when binding xrefs or editing xrefs in place.

 

0 Traditional binding behavior ("xref1|one" becomes "xref$0$one")

 

1 Insert-like behavior ("xref1|one" becomes "one")

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...