IFilterAddToolDefinitionOct(IODBLayer, Single, Single, Single, Single, Int32) Method

Adds a octagon tool definition

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionOct(
	IODBLayer Layer,
	float diameter,
	float octagonHeight,
	float octagonWidth,
	float corners,
	int ToolNr = 0
)

Parameters

Layer  IODBLayer
The name of the current layer.
diameter  Single
Diameter for the tool.
octagonHeight  Single
the hight of the tool
octagonWidth  Single
the width of the tool
corners  Single
the corner value
ToolNr  Int32  (Optional)
nr of the tooldefinition

Return Value

Int32
The index after check the nr of tooldefinition.

See Also