Hello everyone,
I'm looking for a lisp that will create a new layer named LP-PLNT_TREE-SHT* (* = a number starting with 1 if the layer doesn't exist already and will advance in increments of 1 (2, 3, 4, etc. if I repeat the command) it also needs to be able to recognize the last number in the layer names for example if I open the drawing and it already has layers LP-PLNT_TREE-SHT1 and LP-PLNT_TREE-SHT2 and I type in the command, it will create a new layer called LP-PLNT_TREE-SHT3. I would like it to ask the user to select the layer color each time.
If possible can it also have the viewpoint color set to green for all current viewpoints in the drawing as well as new viewports?
Thanks so much,