IFilterAddToolDefinitionSpecial(IODBLayer, String, IPolyClass, Double, Int32, Boolean) Method
Adds a special tool definition from an IPolyClass.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public int AddToolDefinitionSpecial(
IODBLayer Layer,
string CadConformName,
IPolyClass OutlinePad,
double Diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
)
Public Function AddToolDefinitionSpecial (
Layer As IODBLayer,
CadConformName As String,
OutlinePad As IPolyClass,
Diameter As Double,
Optional ToolNr As Integer = 0,
Optional RenameAndCreateIfAlreadyExists As Boolean = true
) As Integer
public:
int AddToolDefinitionSpecial(
IODBLayer^ Layer,
String^ CadConformName,
IPolyClass^ OutlinePad,
double Diameter,
int ToolNr = 0,
bool RenameAndCreateIfAlreadyExists = true
)
member AddToolDefinitionSpecial :
Layer : IODBLayer *
CadConformName : string *
OutlinePad : IPolyClass *
Diameter : float *
?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 IPolyClass
- the outline of the tool
- Diameter Double
- dimeter for the tool
- ToolNr Int32 (Optional)
- nr of the tooldefinition
- RenameAndCreateIfAlreadyExists Boolean (Optional)
-
Int32the index after check the nr of tooldefinition