Hello all,
I am trying to find a way to create multiple PDF files with single script. (Separate files)
I would like to select few of the required layers I have setup to be printed through Allegro and use PDF writer to create these files.
For now, I have made a script so that Acrobat would open up ready to print, but I cannot get it to name it and proceed to the next film.
setwindow pcb
trapsize 1104
generaledit
setwindow form.vf_vis
FORM vf_vis colorview_list Film: RENAME_BOT
setwindow pcb
plot setup
setwindow form.fpfileplotsetup
FORM fpfileplotsetup done
setwindow pcb
generaledit
plot setup
setwindow form.fpfileplotsetup
FORM fpfileplotsetup done
setwindow pcb
generaledit
plotwint initialize "Adobe PDF"
plotwint orientation 2
plotwint papername "Tabloid"
plotwint scale 100
plotwint copies 1
plotwint defaultsource 15
plotwint printquality 1200
plotwint color 2
plotwint execute
I would like to name it the same file name as RENAME_BOT since "RENAME" will be the part number and I plan on switching it on the script file by find/replace before running the script.
I have added other layer name such as RENAME_TOP with same information on the file. Everything seems to work except I have to rename these files manually which I would like to automate.
Please let me know if anyone can help.
Thank you in advance