IFilterAddToolDefinitionSpecial(IODBLayer, IPCBIWindow, String, ListIObjectSpecificsD, Double, Double) Method
Creates a new Special Symbol and returns the toolNr. for the wanted layer
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static int AddToolDefinitionSpecial(
IODBLayer Layer,
IPCBIWindow pcbi,
string cadConformName,
List<IObjectSpecificsD> ObjectList,
double offsetX,
double offsetY
)
Public Shared Function AddToolDefinitionSpecial (
Layer As IODBLayer,
pcbi As IPCBIWindow,
cadConformName As String,
ObjectList As List(Of IObjectSpecificsD),
offsetX As Double,
offsetY As Double
) As Integer
public:
static int AddToolDefinitionSpecial(
IODBLayer^ Layer,
IPCBIWindow^ pcbi,
String^ cadConformName,
List<IObjectSpecificsD^>^ ObjectList,
double offsetX,
double offsetY
)
static member AddToolDefinitionSpecial :
Layer : IODBLayer *
pcbi : IPCBIWindow *
cadConformName : string *
ObjectList : List<IObjectSpecificsD> *
offsetX : float *
offsetY : float -> int
- Layer IODBLayer
- The name of the layer
- pcbi IPCBIWindow
- The main Window with a loaded job
- cadConformName String
- Name of the special tool (use IAutomation.MakeStringCADConform). If this symbol already exists, the exisitng symbol is used without being changed.
- ObjectList ListIObjectSpecificsD
- A List of Objects that will be placed in the symbol (no polygonization). Be careful with shape index, each should be exist on the layer.
- offsetX Double
- Offset in X, all Objects will be transformed by offsetX
- offsetY Double
- Offset in Y, all Objects will be transformed by offsetY
Int32The index of the tool