I appologize if I was not clear.
I need layers to be A-1, not SS_A-1.
This is the case.
Let's say that we have project no. 4176. And in the drawing we have xref for every floor (AA, BB, CC.... SS, TT....) and we have common layers A-1, A-2....
So when someone decide to "Bind" these xref instead to use "Insert" we are getting:
4176-X_TT$0$A-1
4176-X_TT$0$A-2
4176-X_TT$0$A-3 only for one floor, but then is a next floor:
4176-X_UU$0$A-1
4176-X_UU$0$A-2
4176-X_UU$0$A-3... and depends of how many floors do we have, it will be so many layers that are basicaly of the same charachteristics as the other from different floors.
So I need Lisp that will take all A-1, A-2.....K-20 layers and get ridd of:
4176-X_TT$0$ or 4176-X_UU$0$ so that all different A-1 comes into single A-1 layer.
The project number is allways the same (in this case 4176, we should have possibilities to change that depends of project number) layers are allways standards (I can fill them my self later... some cca. 20 diferent layers).
Please ask questions if you need more info.
Again, thank you very much for the any help that you can provide.