Print Page | Close Window

Special Layer translate LIST requred.

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=7087
Printed Date: 31.May.2026 at 18:15


Topic: Special Layer translate LIST requred.
Posted By: Sjeverni
Subject: Special Layer translate LIST requred.
Date Posted: 28.Dec.2011 at 16:09
Hi everybody.
I'm new on this forum and would like to ask you for a favour.
We are facing some problems while dealing with Xref's. Few people select Bind instead of Insert command. This creats mess in our Layer system. I'm  searching a List that could translate these layers back into normal ones.
Some may say, whay don't you use Layer translator? It is not sutable for the amount of layers that we need to correct.
 
So the problem is next:
We need to translate back in normal layers (let's cal them A-1, A-2, A-3, A-4,....) from prefix that they got while Binding and looks:
4176-X_TT$0$A-1
4176-X_TT$0$A-2
4176-X_TT$0$A-3
4176-X_TT$0$A-4
4176-X_TT$0$A-5.....
 
4176-X_SS$0$A-1
4176-X_SS$0$A-2
4176-X_SS$0$A-3
4176-X_SS$0$A-4
4176-X_SS$0$A-5...
....
 
I need that all numbers, symblos, letters.... before real Layers name dissaper.
Please note that becouse of few diferent Xref's in my drawing it is also few diferent prefix (4176-X_TT$0$ or 4176-X_SS$0$....), so list should be writen so that we can write different prefix TT or SS.
 
Thank you in advance
 
.



Replies:
Posted By: John Connor
Date Posted: 28.Dec.2011 at 18:08
If you are looking for a lisp routine to handle this I'd suggest inquiring over at The Swamp where a number of good programmers hang out.  The next best location would be CADTutor.  Ask for Lee Mac.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: Sjeverni
Date Posted: 29.Dec.2011 at 08:16
Will try that. Thank you.



Print Page | Close Window