IFilterAddToolDefinitionSpecial(IODBLayer, IPCBIWindow, String, ListIObjectSpecificsD, Double, Double) Method

Creates a new Special Symbol and returns the toolNr. for the wanted layer

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionSpecial(
	IODBLayer Layer,
	IPCBIWindow pcbi,
	string cadConformName,
	List<IObjectSpecificsD> ObjectList,
	double offsetX,
	double offsetY
)

Parameters

Layer  IODBLayer
The name of the layer
pcbi  IPCBIWindow
The main Window with a loaded job
cadConformName  String
Name of the special tool (use IAutomation.MakeStringCADConform). If this symbol already exists, the exisitng symbol is used without being changed.
ObjectList  ListIObjectSpecificsD
A List of Objects that will be placed in the symbol (no polygonization). Be careful with shape index, each should be exist on the layer.
offsetX  Double
Offset in X, all Objects will be transformed by offsetX
offsetY  Double
Offset in Y, all Objects will be transformed by offsetY

Return Value

Int32
The index of the tool

See Also