IFilterAddToolDefinitionSpecial(IODBLayer, String, IPolyClass, Double, Int32, Boolean) Method

Adds a special tool definition from an IPolyClass.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public int AddToolDefinitionSpecial(
	IODBLayer Layer,
	string CadConformName,
	IPolyClass OutlinePad,
	double Diameter,
	int ToolNr = 0,
	bool RenameAndCreateIfAlreadyExists = true
)

Parameters

Layer  IODBLayer
The name of the current layer
CadConformName  String
name of the special tool
OutlinePad  IPolyClass
the outline of the tool
Diameter  Double
dimeter for the tool
ToolNr  Int32  (Optional)
nr of the tooldefinition
RenameAndCreateIfAlreadyExists  Boolean  (Optional)
 

Return Value

Int32
the index after check the nr of tooldefinition

See Also