IFilterAddToolDefinitionToLayer Method

Add Symbol to layer, this works only if the shape index is ok!

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionToLayer(
	IODBLayer ParentLayer,
	IFilterToolDefinition SymbolToAdd
)

Parameters

ParentLayer  IODBLayer
Layer to add the symbol.
SymbolToAdd  IFilterToolDefinition
Symbol for this layer.

Return Value

Int32
-1 or the used Shape Index (it will be changed if there is a second object with the same index)

See Also