I would like to write a skill program to automate the gerber generation. May I know:-
1) Are there any functions (skill or axl) that allows you to manually generate a certain gerber layer rather than using the MANUFACTURING -> ARTWORK dialog window?
2) Are there any functions that allows you to import a predefined setup for the Artwork Layers? If not, any suggestion on how to do this in a skill program?
Here is a function that I would use (if I didn't output ODB++ exclusively these days):
defun( MY_GerberOutputs (filmNames) let((cmd) axlSaveDesign() sprintf(cmd, "artwork%s %s.brd", buildString(mapcar(lambda((f), strcat(" -f ", f)), filmNames)), axlCurrentDesign()) axlRunBatchDBProgram("artwork", cmd)))
For part 2 try using axlfcreate and axlDBCreateFilmRec (16.1)
In reply to eDave:
Thanks Dave!! :D
In reply to wERerABbiT:
This command will do the trick if you put it in a script file
system artwork $module
Here is another skill automation that will create a batch file to create the cad/valout/valext files
It will also zip the outputs in accordance to the part number requirement
Your board file has to be saved with proper numbering pattern to have it work modify the code to suite your need
(it will create one part number for assembly package and one for production, it also accounts for internal and external part)
Or I can modify it if you give your part number need
In reply to vramanan:
Can you zip up your skill routine? .il files are not recognized by the Cadence site. Imagine that. :)
Thanks Vramanan!! :)
Unfortunately I can't download the file. Please repost file.
Here is the zipped skill file