Illustrator script to change color of layers, save as *.ai, export to *.svg, etc. (starting with *.dxf format)
I need help! I have 10,000 unique image files in *.dxf format (created in AutoCAD). The files
are located in a specific file folder on a server. Each file contains several
layers, including two color layers—one layer named "DOOR FILL" and
one layer named "GLASS". I need an Illustrator script to 1) open a
file, 2) change the color of the DOOR FILL layer to a specific RGB color, 3)
move the GLASS layer to the top, 4) change the color of the GLASS layer to a
specific RGB color, 5) resize the art board to fit the graphic, 6) save the
file with the same file name with *.ai extension), 7) export the file as *.svg
format, then 😎 open the next file in the folder and complete the same steps.
This script needs to run in Illustrator 9.0 (because it can open the *.dxf
files without file type errors or distortion of the image). Any assistance would be greatly appreciated!
