- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I have a base file from the CIVIL and I must convert all of the CIVIL's layers to different layer names/colors to meet another companies layer standards. All of the CIVIL layers have been assigned colors that are typical for all of drawing plot settings
Example: Civil file has layers such as Curb (color 150), Curb-back (color 150), Curb-face (color 150), Curb-Gutter (color 8), Curb-Drain (color 113)...
I need to merge all the "color 150" layers to a generic "CURB" layer, the "color 8" layers need to change to a generic "GUTTER" layer, and the "color 113" layers need to change to a generic "DRAIN" layer.
When using the LAYERMANAGER I can sort by color and select all "color 150" layers, right click and merge the layers to the new desired layer name. Then select all "color 8" layers and merge to the desired layer, then select all "color 113" layers and merge to that desired layer. This process does work very well, but when doing this to 100's of drawing files it is very redundant and time consuming.
If it is possible to setup a LISP routine that will automate this process by changing all desired layers that are on a specific COLOR to a different specified layer it would save me hours of time per week and make the learning curve for new drafters quite a bit easier.
I have tried the LAYTRANS command and it almost works except for the layer name problems such as *CURB* would also select the "CURB-DRAIN" layer and "CURB-GUTTER" layer which will not work for my use.
Any suggestions are greatly appreciated. TYIA
NOTE: I am not very good at creating LISP routines. I have adjusted pre-made LISP routines to fit my needs in the past and also created VERY VERY Basic LISP routines as well but this is beyond my ability. I also read that the LAYMRG command doesnt quite work right in LISP routines but I am hoping someone can point me in the right direction for a solution to my "desires"
-Matt
Solved! Go to Solution.