I am writing a script for automatic gerber generation.
Since there is no script function (?) to start the gerber generation, I am doing it by a macro.
I would like the script to generate all defined CAM documents, which will vary from job to job.
The macro line looks like this:
DefineCamDocumentsDlg.CamDocuments.Selected(16) = true
But if “16” does not exists, the macro stops.
How can I avoid this ?