Label Line With Layer Name Autocad LISP
The lisp will label a line/polyline with its own Layer name.
just execute the command by typing LL, and chose your objects. will work great for annotative text also.
if it’s your first time using LISP please check this one for simple instruction: http://www.ellenfinkelstein.com/acadblog/how-to-load-an-autolisp-program/
or search youtube for “load AutoCAD lisp” . You can also drag the .lsp file to the current drawing ( NOTE: This Way it will work at that drawing only! )