IFilter Class

IFilter contains all functions working and create new objects.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public class IFilter : InterfaceFilter
Inheritance
Object    IFilter
Implements
InterfaceFilter

Constructors

IFilter Inizialize a IFilter interface object to create other objects.

Methods

AddEmptyStep Create an empty step and add it to the currend job.
AddGraphicPathAsSurface(GraphicsPath, InterfaceODBLayer, Boolean) Adds a GraphicPath as surface to ParentLayer on the Location.
AddGraphicPathAsSurface(GraphicsPath, IODBLayer, Boolean) Adds a GraphicPath as surface to ParentLayer on the Location.
AddGraphicPathAsSurface(GraphicsPath, PointF, InterfaceODBLayer) Adds a GraphicPath as surface to ParentLayer on the Location.
AddGraphicPathAsSurface(GraphicsPath, PointF, IODBLayer) Adds a GraphicPath as surface to ParentLayer on the Location.
AddGraphicPathAsSurface(GraphicsPath, PointF, InterfaceODBLayer, Boolean) Adds a GraphicPath as surface to ParentLayer on the Location.
AddGraphicPathAsSurface(GraphicsPath, PointF, IODBLayer, Boolean) Adds a GraphicPath as surface to ParentLayer on the Location.
AddToolDefinitionButterfly(IODBLayer, Double) add tool definition for bufferfly symbol
AddToolDefinitionButterfly(IODBLayer, Double, Boolean) Add a fool definiton for butterfly to the layer.
AddToolDefinitionButterfly(IODBLayer, Single, Boolean) Add a fool definiton for butterfly to the layer.
AddToolDefinitionDonut Create a donut tool
AddToolDefinitionDPackArray 
AddToolDefinitionHomePlate add mew tool for home plate.
AddToolDefinitionInvertedHomePlate Create an inverted home plate symbol and the new tool.
AddToolDefinitionMoire Create an inverted home plate symbol and the new tool.
AddToolDefinitionOct(IODBLayer, Double, Double, Double, Double, Int32) Adds a octagon tool definition
AddToolDefinitionOct(IODBLayer, Single, Single, Single, Single, Int32) Adds a octagon tool definition
AddToolDefinitionOval(IODBLayer, Double, Double, Double) Add a definition of oval symbol.
AddToolDefinitionOval(IODBLayer, Single, Single, Single) Add a definition of oval symbol.
AddToolDefinitionRect(IODBLayer, Int32, Single, Single, Boolean) Create a Rectangle tool with option of corners.
AddToolDefinitionRect(IODBLayer, Single, Single, Single, Boolean) Create a Rectangle tool.
AddToolDefinitionRect(IODBLayer, Single, Int32, Single, Single, Boolean) Create a Rectangle tool.
AddToolDefinitionRect(IODBLayer, Double, Double, Double, Boolean, Boolean, Boolean, Boolean) Create a Rectangle tool with rounded corners.
AddToolDefinitionRectCorners Create a Rectangle tool with option of corners.
AddToolDefinitionRectD(IODBLayer, Double, Double, Double, Boolean) Create a Rectangle tool based on double values.
AddToolDefinitionRectD(IODBLayer, Double, Double, Double, Double, Boolean) Create a Rectangle tool based on double values.
AddToolDefinitionRound(IODBLayer, Double, Int32, Boolean) Add the definition of an round object.
AddToolDefinitionRound(IODBLayer, Single, Int32, Boolean) Add the definition of an round object.
AddToolDefinitionSpecial(IODBLayer, IODBLayer, Int32) Copy of symbol from one layer to other layer.
AddToolDefinitionSpecial(InterfaceODBLayer, String, InterfaceSurfaceSpecificsD, Single, Int32, Boolean) Adds a special tool definition.
AddToolDefinitionSpecial(IODBLayer, IPCBIWindow, String, ListIObjectSpecificsD, Double, Double) Creates a new Special Symbol and returns the toolNr. for the wanted layer
AddToolDefinitionSpecial(IODBLayer, IPCBIWindow, String, ListIODBObject, Double, Double) Creates a new Special Symbol and returns the toolNr. for the wanted layer. This will move the IODBObjects to the symbol and if the cadConformName already exists only return the index of the existing symbol.
AddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecifics, Single, Int32, Boolean) Adds a special tool definition.
AddToolDefinitionSpecial(IODBLayer, String, ISurfaceSpecificsD, Single, Int32, Boolean) Adds a special tool definition.
AddToolDefinitionSpecial(IODBLayer, String, IPolyClass, Double, Int32, Boolean) Adds a special tool definition from an IPolyClass.
AddToolDefinitionSpecial(IODBLayer, IPCBIWindow, String, ListIODBObject, Double, Double, IFilterToolDefinition) Creates a new Special Symbol and returns the toolNr. for the wanted layer. This will move the IODBObjects to the symbol and if the cadConformName already exists only return the index of the existing symbol.
AddToolDefinitionSquare Create a Square tool based on double values.
AddToolDefinitionThermalRounded Create a thermal rounded symbol on one layer.
AddToolDefinitionThermalSquared Create a thermal squared symbol on one layer.
AddToolDefinitionToLayer Add Symbol to layer, this works only if the shape index is ok!
AddToolFromODBString Create a tool from the ODB string, you have to use the correct ODB++ string from the specific!
CopySymbol(Int32, InterfaceODBLayer) Copy existing Symbol of parent layer.
CopySymbol(Int32, IODBLayer) Copy existing Symbol of parent layer.
CreateAndLoadEmptyJob(String) Creates an empty job to add new steps and layers for the new objects. Existing folders are overwrited.
CreateAndLoadEmptyJob(String, String, String) Creates an empty job to add new steps and layers for the new objects. Existing folders are overwrited.
CreateArc(InterfaceODBLayer) Create a new Arc object
CreateArc(IODBLayer) Create a new Arc object
CreateComponent(ICMPLayer) Create a new component
CreateComponent(InterfaceCMPLayer) Create a new component
CreateEmptyCMPLayer Creates an empty cmp layer. Caution: In ODB++ are maximal two cmp-layers possible!
CreateEmptyODBLayer(String) Creates an empty odb layer or return a existing layer if it already exists. This mehtod use the current step to add the new layer.
CreateEmptyODBLayer(String, String, Boolean) Creates an empty odb layer or return a existing layer if it already exists.
CreateEmptyODBLayer(String, String, Boolean, Boolean) Creates an empty odb layer or return a existing layer if it already exists.
CreateLine(InterfaceODBLayer) Create a new line object
CreateLine(IODBLayer) Create a new line object
CreateOutlinePolygon Create a outline object for special pads, packages, cmps or PCB-Outlines. This is a surface object, you can modify it with the ISurfaceSpecifics(D). But is has no internal connection to any layer, so some actions are not allowed!
CreatePackage Create a empty package
CreatePackageD Create a empty package
CreatePad(InterfaceODBLayer) Create a new Pad
CreatePad(IODBLayer) Creates a new Pad
CreatePolygon(InterfaceODBLayer) Create an empty polygon.
CreatePolygon(IODBLayer) Create an empty polygon.
CreateSurfaceFromODBString Create surface from ODB string, this handles only one surface!
CreateSurfacesFromPad(InterfacePadSpecificsD, InterfaceODBLayer) Convertes any Pad to a list of Surfaces without adding it to the layer
CreateSurfacesFromPad(IPadSpecificsD, IODBLayer) Convertes any Pad to a list of Surfaces without adding it to the layer
CreateSymbolHash Gets the 256bit HashCode out of the symbol image
CreateText(InterfaceODBLayer) Create an odb text object
CreateText(IODBLayer) Create an odb text object
DoesSymbolExist Checks whether a Symbol-Name already exists or not
GetOrCreateMPNPackage(IPackageLibraryEntry, IPCBIWindow) Creates a new or returns an existing MPNPackageData with the definition of the library entry in the current job database
GetOrCreateMPNPackage(IPartLibraryEntry, IPCBIWindow) Creates a new or returns an existing MPNPackageData with the definition of the library entry in the current job database
GetOrCreateMPNPackage(IPackageSpecificsD, String, Double, IPCBIWindow) Creates a new or returns an existing MPNPackageData with the definition of the package specifics in the current job database.
GetOrCreatePackage(IPackageLibraryEntry, IPCBIWindow) Gets or Creates the package of the given package definition
GetOrCreatePackage(IPackageLibraryEntry, IPCBIWindow, String) Gets or Creates the package of the given package definition
GetOrCreateSymbol Gets or Creates the given Symbol on the given layer, and returns the shapeIndex
GetPackageFromString Returns an IPackageSpecificsD from a ODB++ package string without adding the package to the design
GetPackageImage Creates an image of the given package
GetPartImage Creates an image of the given part
GetPartMPNPackage(IPackageLibraryEntry) Gets MPNPackageData from a Part Library Entry
GetPartMPNPackage(IPartLibraryEntry) Gets MPNPackageData from a Part Library Entry
GetSpecialSymbols Returns the feature path of each Special Symbol, including the ToolDefinition as value
GetSymbolBounds Returns the size of a Symbol (not very performant, use with care)
GetSymbolByName(String, InterfaceODBLayer) Get the symbol by checking the full name of the symbol (the name must be cad conform e.g. no space).
GetSymbolByName(String, IODBLayer) Get the symbol by checking the full name of the symbol (the name must be cad conform e.g. no space).
GetSymbolByShapeIndex(Int32, InterfaceODBLayer) Get the symbol information for the givcen ShapeIndex and Layer
GetSymbolByShapeIndex(Int32, IODBLayer) Get the symbol information for the givcen ShapeIndex and Layer
GetSymbolImage Creates an image of the given symbol
GetSymbolMatchPercent 
GetSymbolPolygon Create symbol polygon for ISymbolLibraryEntry.
GetToolDefinitionSpecialSubElementCount Get sub details of special pad, this can contain the number of IODBObjects.
GetToolDefinitionSpecialSubElements Get sub details of special pad, this can contain all types of IODBObjects.
GetUsedSymbolList(InterfaceODBLayer) Creates a list of all defined tools. Int = ShapeIndex, ToolDefinition = details of the tool.
GetUsedSymbolList(IODBLayer) Creates a list of all defined tools. Int = ShapeIndex, ToolDefinition = details of the tool.
InsertElementsToLayer(Int32, InterfaceODBLayer, ListInterfaceODBObject, PointD, Boolean, Boolean, Double, Boolean) Insert a list of elements in the existing element list of the ParentLayer on position IndexInLayerElementList.
InsertElementsToLayer(Int32, IODBLayer, ListIODBObject, PointD, Boolean, Boolean, Double, Boolean) Insert a list of elements in the existing element list of the ParentLayer on position IndexInLayerElementList. This do not work for special symbol pads if the tool definition is not created before!
LoadFeatureFile Load feature file in IODBLayer, this layer have no connection to any step it just manage the elements from the feautre file e.g. to read a special symbol.
UpdateSpecialSymbolContent Updates the feature file of an existing special symbol with existingJobSpecialSymbol.Name in the currently loaded design with the new content existingJobSpecialSymbol.SpecialFileContent All Pad instances of this Job Special Symbol will be updated/influenced

Extension Methods

See Also