IFilterGetOrCreateSymbol Method

Gets or Creates the given Symbol on the given layer, and returns the shapeIndex

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int GetOrCreateSymbol(
	ISymbolLibraryEntry symbol,
	IODBLayer layer,
	IPCBIWindow pcbi
)

Parameters

symbol  ISymbolLibraryEntry
Symbol definition
layer  IODBLayer
Layer on which the symbol should be created
pcbi  IPCBIWindow
The main Window with a loaded job

Return Value

Int32
ShapeIndex or -1

See Also