
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have changed 19 colors in my .ctb and reassigned them to different numbers.
I am wanting a lisp (or a faster way than described below) that will change these 19 colors to 19 different colors, regardless of what type of object they are, if they are in a block or not and that will also change them regardless of what paper/model space tab they are on.
It is basically something like QSELECT but I do not want to have to use QSELECT 19 times on each paper space tab and in each model space tab.
This is for 50+ templates with some having upwards of 20 sheets, and not every color is used in every template or every tab.
So to be specific, I would like color 10 to change to color 201, every time, no matter where it is found in the drawing.
I would also need these colors to be changed in a specific order as several of the colors that are getting changed are actually being reused.
For example, color 201(blue) is changing to color 226(blue) first, then color 10(red) is changing to color 201(now red/formerly blue).
If someone could set up the lisp to search for and change those 2 colors listed above, and copy paste that bit of code 18 times, I can edit the other 18 to the colors I need. (I can also post the colors and their changed values if necessary, I am just saving space on this already long post if it can't be done)
I can edit lisps to change values fairly well but can't write new lisps to save my life.
Any help or advice would be appreciated.
Solved! Go to Solution.