Ahankhah Posted September 22, 2011 Posted September 22, 2011 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. Quote
Tiger Posted September 23, 2011 Posted September 23, 2011 how about just chooseing Insert instead of Bind in the Bind-dialogue box? Quote
Ahankhah Posted September 23, 2011 Author Posted September 23, 2011 (edited) 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 September 26, 2011 by Ahankhah Quote
Tiger Posted September 23, 2011 Posted September 23, 2011 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... Quote
Ahankhah Posted September 23, 2011 Author Posted September 23, 2011 Tiger, today is Friday and it is Freeday for us in Iran, and I have no access to AutoCAD, so please let me check this later. Quote
Ahankhah Posted September 26, 2011 Author Posted September 26, 2011 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") 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.