InterfaceFilterAddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecificsD, Single, Int32, Boolean) Method
Adds a special tool definition.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
int AddToolDefinitionSpecial(
IODBLayer Layer,
string cadConformName,
ISurfaceSpecificsD OutlinePad,
float diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
)
Function AddToolDefinitionSpecial (
Layer As IODBLayer,
cadConformName As String,
OutlinePad As ISurfaceSpecificsD,
diameter As Single,
Optional ToolNr As Integer = 0,
Optional RenameAndCreateIfAlreadyExists As Boolean = true
) As Integer
int AddToolDefinitionSpecial(
IODBLayer^ Layer,
String^ cadConformName,
ISurfaceSpecificsD^ OutlinePad,
float diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
)
abstract AddToolDefinitionSpecial :
Layer : IODBLayer *
cadConformName : string *
OutlinePad : ISurfaceSpecificsD *
diameter : float32 *
?ToolNr : int *
?RenameAndCreateIfAlreadyExists : bool
(* Defaults:
let _ToolNr = defaultArg ToolNr 0
let _RenameAndCreateIfAlreadyExists = defaultArg RenameAndCreateIfAlreadyExists true
*)
-> int
- Layer IODBLayer
- The name of the current layer
- cadConformName String
- name of the special tool
- OutlinePad ISurfaceSpecificsD
- the outline of the tool
- diameter Single
- dimeter for the tool
- ToolNr Int32 (Optional)
- nr of the tooldefinition
- RenameAndCreateIfAlreadyExists Boolean (Optional)
-
Int32the index after check the nr of tooldefinition