IODBLayerSaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean, Boolean, SpecialSymbolGerberExportEnum, PanelGerberExportEnum) Method

Save all layerobjects as gerberfile to the fullPath location.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public bool SaveLayerAsGerber(
	string fullPath,
	int DigitsGerberLengthBeforeComma,
	int DigitsGerberLengthAfterComma,
	bool UseMM,
	bool OnlySelected,
	bool exportX2Properties,
	SpecialSymbolGerberExportEnum specialSymbolOption,
	PanelGerberExportEnum panelOption
)

Parameters

fullPath  String
The full path including filename.
DigitsGerberLengthBeforeComma  Int32
Count of digits in gerberfile before comma.
DigitsGerberLengthAfterComma  Int32
Count of digits in gerberfile after comma.
UseMM  Boolean
Write mm in the exported file, or use imperial values (mils).
OnlySelected  Boolean
Output only for selected objects.
exportX2Properties  Boolean
Add e.g. layer type and net information in gerber X2 format.
specialSymbolOption  SpecialSymbolGerberExportEnum
How to handle special symbols.
panelOption  PanelGerberExportEnum
How to handle panel step and repeat elements.

Return Value

Boolean
True if saving layer has worked correkt.

See Also