InterfaceStepAddExcellonLayer Method

Reads Excellon 1/2 file, errors are reported in the ErrorLog.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
string AddExcellonLayer(
	string FullPath,
	bool OverwriteIfExists,
	int LeadingNumbers = 0,
	int TrailingNumbers = 0,
	bool? unitInch = null,
	bool TryAutoRecognition = true,
	bool AddUndo = false,
	omit_zeros_t LeadingOrTrailingZeros = omit_zeros_t.LEADING,
	bool tryAutoCorrectExcellonOffset = true,
	bool mirrorInputData = false
)

Parameters

FullPath  String
The filename with full path.
OverwriteIfExists  Boolean
If true overriedes existing layer, if false change the name of the layer.
LeadingNumbers  Int32  (Optional)
Leading number count e.g. 3 or 0 if PCB-Investigator should check for it.
TrailingNumbers  Int32  (Optional)
Trailing number count e.g. 5 or 0 if PCB-Investigator should check for it.
unitInch  NullableBoolean  (Optional)
inch or mm or unknown
TryAutoRecognition  Boolean  (Optional)
For Excellon1/2 the size of file will be adjusted on the other layers of this step.
AddUndo  Boolean  (Optional)
Add to undo list to remove layer by calling undo.
LeadingOrTrailingZeros  omit_zeros_t  (Optional)
LEADING, TRAILING or EXPLICIT
tryAutoCorrectExcellonOffset  Boolean  (Optional)
Try to correct the offset for Excellon files
mirrorInputData  Boolean  (Optional)
 

Return Value

String

See Also