IFilterAddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecifics, Single, Int32, Boolean) Method
Adds a special tool definition.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public int AddToolDefinitionSpecial(
IODBLayer Layer,
string cadConformName,
ISurfaceSpecifics OutlinePad,
float diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
)
Public Function AddToolDefinitionSpecial (
Layer As IODBLayer,
cadConformName As String,
OutlinePad As ISurfaceSpecifics,
diameter As Single,
Optional ToolNr As Integer = 0,
Optional RenameAndCreateIfAlreadyExists As Boolean = true
) As Integer
public:
virtual int AddToolDefinitionSpecial(
IODBLayer^ Layer,
String^ cadConformName,
ISurfaceSpecifics^ OutlinePad,
float diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
) sealed
abstract AddToolDefinitionSpecial :
Layer : IODBLayer *
cadConformName : string *
OutlinePad : ISurfaceSpecifics *
diameter : float32 *
?ToolNr : int *
?RenameAndCreateIfAlreadyExists : bool
(* Defaults:
let _ToolNr = defaultArg ToolNr 0
let _RenameAndCreateIfAlreadyExists = defaultArg RenameAndCreateIfAlreadyExists true
*)
-> int
override AddToolDefinitionSpecial :
Layer : IODBLayer *
cadConformName : string *
OutlinePad : ISurfaceSpecifics *
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 ISurfaceSpecifics
- 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
InterfaceFilterAddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecifics, Single, Int32, Boolean)