IODBLayerSaveLayerAsGerber(String, Int32, Int32, Boolean, Boolean, Boolean, SpecialSymbolGerberExportEnum, PanelGerberExportEnum, Boolean, Boolean, Boolean) 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,
	bool addOutline,
	bool mirrorOutput,
	bool useFeatureIgnoreAttribute
)

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.
addOutline  Boolean
Add PCB profile to the layer
mirrorOutput  Boolean
mirrors the exported file in x direction
useFeatureIgnoreAttribute  Boolean
Ignore all features with the Feature Ignore attribute.

Return Value

Boolean
True if saving layer has worked correkt.

See Also