IFilterAddToolDefinitionOct(IODBLayer, Double, Double, Double, Double, 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,
	double diameter,
	double octagonHeight,
	double octagonWidth,
	double corners,
	int ToolNr = 0
)

Parameters

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

Return Value

Int32
The index after check the nr of tooldefinition.

See Also