Quantcast
Channel: Autodesk India Community aggregator
Viewing all articles
Browse latest Browse all 1680

AutoCAD Customization: Visual LISP, AutoLISP and General Customization: Changing colors from one layer to another safety

$
0
0

Hi All,

I have a lisp routine to change our specific colours to another so I can quickly update old DWG colors to our new standards. The Lisp routine works great however there is a duplicate colour 

So on the first run I want to change all colours 240->10 and 10->20. So on the firts run no problem. If I run it a second time then the original 240 colour will become 20, when I need it to stay 10. 

I've been trying to figure out how to put in a safety to stop this second change in case anyone runs it twice accidentally but I'm stumped...

 


Viewing all articles
Browse latest Browse all 1680

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>