IFilterAddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecificsD, Single, Int32, Boolean) Method

Adds a special tool definition.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public int AddToolDefinitionSpecial(
	IODBLayer Layer,
	string cadConformName,
	ISurfaceSpecificsD OutlinePad,
	float diameter,
	int ToolNr = 0,
	bool RenameAndCreateIfAlreadyExists = true
)

Parameters

Layer  IODBLayer
The name of the current layer
cadConformName  String
Name of the special tool (use IAutomation.MakeStringCADConform). If this symbol already exists, the exisitng symbol is used without being changed.
OutlinePad  ISurfaceSpecificsD
the outline of the tool
diameter  Single
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

Implements

InterfaceFilterAddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecificsD, Single, Int32, Boolean)

See Also