Message 1 of 4
a LISP for rename layers and change their colour

Not applicable
04-07-2017
03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody,
I need to create a lisp to rename layers, colours and linetype without creating a new command (no defun). For now i reached this stage and it works:
(setq old_name "OLD" new_name "NEW")
(command "-rename" "layer" old_name new_name)
I need help to write a script to change their colours and linetypes by layer. It needs to be a single lisp file.
Somebody has experience with that?
Thank you