IFilterAddToolFromODBString Method

Create a tool from the ODB string, you have to use the correct ODB++ string from the specific!

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolFromODBString(
	IODBLayer Layer,
	string ODBSymbolString,
	int ToolNr = -1
)

Parameters

Layer  IODBLayer
the current layer
ODBSymbolString  String
The ODB++ conform tool specific string e.g. "r4.63" for an round or "ths10.6x6x45x4x2" for a termal.
ToolNr  Int32  (Optional)
The number of the tool, its important that the toolNr is unique! If it exists no symbol is created.

Return Value

Int32
The shape Index of the symbol.

See Also