IFilterAddToolFromODBString Method
Create a tool from the ODB string, you have to use the correct ODB++ string from the specific!
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolFromODBString(
IODBLayer Layer,
string ODBSymbolString,
int ToolNr = -1
)
Public Shared Function AddToolFromODBString (
Layer As IODBLayer,
ODBSymbolString As String,
Optional ToolNr As Integer = -1
) As Integer
public:
static int AddToolFromODBString(
IODBLayer^ Layer,
String^ ODBSymbolString,
int ToolNr = -1
)
static member AddToolFromODBString :
Layer : IODBLayer *
ODBSymbolString : string *
?ToolNr : int
(* Defaults:
let _ToolNr = defaultArg ToolNr -1
*)
-> int
- 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.
Int32The shape Index of the symbol.