IStepAddDrillFile Method

Import Drill Files with Drill Table (Excellon)

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public string AddDrillFile(
	string FullPath,
	List<IStepDrillTool> ToolTableMils,
	bool OverwriteIfExists = true,
	int LeadingNumbers = 0,
	int TrailingNumbers = 0,
	bool? unitInch = null,
	omit_zeros_t LeadingOrTrailingZeros = omit_zeros_t.EXPLICIT,
	bool TryAutoRecognition = true,
	bool mirrorInputData = false
)

Parameters

FullPath  String
Full path to drill file.
ToolTableMils  ListIStepDrillTool
Table with all tool diameters, index = tool number and drill type (plated/non plated).
OverwriteIfExists  Boolean  (Optional)
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
LeadingOrTrailingZeros  omit_zeros_t  (Optional)
LEADING, TRAILING or EXPLICIT
TryAutoRecognition  Boolean  (Optional)
For Excellon1/2 the size of file will be adjusted on the other layers of this step.
mirrorInputData  Boolean  (Optional)
Option to mirror input data for bottom up definitions.

Return Value

String
Returns name of the layer or an empty if an error occurred.

See Also