update AddGerberLayer

Just for information. By updating to V8 the method "AddGerberLayer" has a new call with more parameters. To use your old scripts you have to add two parameters.

step.AddGerberLayer(fullPath, true, PCBI.ImportOptions.FormatTypes.Excellon1, LeadingDigits, TrailingDigits, UseMils , TryAutoSize, false, PCBI.ImportOptions.omit_zeros_t.EXPLICIT );
the new part is "false," and "PCBI.ImportOptions.omit_zeros_t.EXPLICIT" at the end.

update your script and it will give you the dame results as before.


Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.