IMatrix Class

The IMatrix is a odb matrix with all relevant data and Methods.

Definition

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

Methods

BreakCalculation Works only from different thread, to break calculation like MakePositive or GetShortsOnNegativLayer.
CheckStackup(InterfaceStep) 
CheckStackup(IStep) Check whether copper layer exists, prepregs are between copper layers and all copperlayers/prepregs have a thickness >0.
Clone Clone current matrix, be carefull only the virtual elements cloned all directories same as in original.
CopyLayer(String, String) Copy the layer
CopyLayer(String, String, Boolean, Boolean) Copy the layer
DeleteLayer(String, Boolean) Deletes a layer.
DeleteLayer(String, Boolean, Boolean) Delete a layer.
DeleteLayer(String, Boolean, Boolean, Boolean) Delete a layer.
FindSideLayerLayerName OBSOLETE: Return the first layer of the relevant layer type if top side true. If searching bot side it return the first layername of the relevant layer type after first signal layer block. Not recommended for signal layers.
FindSideLayerName Return the first layer of the relevant layer type if top side true. If searching bot side it return the first layername of the relevant layer type after first signal layer block. Not recommended for signal layers.
GetAllBoardLayerNames List of all board layer names contain all layers with context board.
GetAllDrillLayerNames Create an list of all drill layer names.
GetAllDrillLayersForThisLayer Create list of all relevant drill layers for the relevant layer.
GetAllLayerNames List of all layers names.
GetAllLayerNames(Boolean) List of all layers names with option to set names to lower.
GetAllLayerNamesAndTypes Create a list of all layernames with types. This put all layernames in the keys of the dictionary and the matrix layer types are the values of the dictionary.
GetAllLayerNamesAndTypes(Boolean) Create a list of all layernames with types. This put all layernames in the keys of the dictionary and the matrix layer types are the values of the dictionary.
GetAllLayerWithThisDrills Creates a list of all layers, which are in range of one drill layer.
GetAllRoutLayerNames Create an list of all rout layer names.
GetAllSignalLayerNames List of all signal layer names.
GetAllSignalLayerNames(Boolean) List of all signal layer names.
GetBotComponentLayer Returns the last component layer in the stackup, if there are more than one component layer.
GetBotSignalLayer(Boolean) Returns the last signal layer of the signal block.
GetBotSignalLayer(Boolean, Boolean) Returns the last signal layer of the signal block, depending of ignore spaces it find the last of all layers.
GetBotSilkScreenLayerName Return the first silk screen layer after the signal block, there can be a later silk screen layer e.g. if there is a copy at the end of the stackup.
GetDistanceBetweenLayers Calculate the distance between layers, depending on the material height of each layer.
GetEndDrillLayer Returns the row index of the last Layer with from the DrillLayer, or 0.
GetMatrixLayerAddType The matrix layer add_type returns unknown if the LayerName or the matrix are unknown. This property is new since ODB++ 8.0.
GetMatrixLayerColor Get the matrix layer color for the relevant layer.
GetMatrixLayerContext Returns the layer context, if the context is not board or misc it returns unknown.
GetMatrixLayerPolarity The matrix polarity is Positive or negative, if it is not known the return value is unknown.
GetMatrixLayerType The matrix layer type returns unknown if the LayerName or the matrix are unknown.
GetNameByRowIndex Converts the row index to the name.
GetRowIndexByName Converts the name to the row index.
GetShortsOnNegativLayer create a list of net nrs and all connected net nrs.
GetStartDrillLayer Returns the row index of the first layer with from the DrillLayer, or 0.
GetStepNames Returns all step names.
GetTopComponentLayer Returns the first component layer in the stackup.
GetTopSignalLayer Returns the first signal layer.
GetTopSilkScreenLayerName Return first silk screen layer before the signal block starts.
IsBottomSideLayer Check the layer comes at the end of the copper block or below.
IsComponentLayer Check the layer is component layer and has context board.
IsDrillLayer Check if layer is a drill layer
IsImageLayer Check is the layer a image layer?
IsRoutLayer Check if layer is a rout layer
IsSBUDrill(String) Check it is a SBUDrill, and gives back the start and end layerindex.
IsSBUDrill(String, Int32, Int32) Check it is a SBUDrill, and gives back the start and end layerindex.
IsSignalLayer Check the layer is signal layer or power ground and has context board.
IsTopSideLayer Check the layer comes before copper block or in/below.
MakeDocumentFromComponents Create document layer from compoonent layer top or bottom. This method uses current step and do not work on other steps!
MakeLayerPositive Change a negative layer to an Positive layer.
MoveStep Change step order to move one step up or down.
RemoveStep Remove step information from matrix (do not delete files on HDD).
RenameLayer(String, String) Rename one layer.
RenameLayer(String, String, Boolean, Boolean) Rename one layer.
Save Saves changes and enables them.
SetDrillEndLayerFor(String, String) Set drill end layer.
SetDrillEndLayerFor(String, String, Boolean) Set drill end layer.
SetDrillStartLayerFor(String, String) Set the drill start for one drill layer.
SetDrillStartLayerFor(String, String, Boolean) Set the drill start for one drill layer.
SetLayerHeight(String, Double) Set layer height in all steps.
SetLayerHeight(String, Double, Boolean) Set layer height in all steps.
SetMatrixLayerAddType(String, MatrixLayerAddType) Set the layer add type.
SetMatrixLayerAddType(String, MatrixLayerAddType, Boolean) Set the layer add type.
SetMatrixLayerColor(String, Color) Set the matrix layer color.
SetMatrixLayerColor(String, Color, Boolean) Set the matrix layer color.
SetMatrixLayerContext(String, MatrixLayerContext) Set context for one layer.
SetMatrixLayerContext(String, MatrixLayerContext, Boolean) Set context for one layer.
SetMatrixLayerIndex(String, Int32) To change the LayerIndex, use this function.
SetMatrixLayerIndex(String, Int32, Boolean) To change the LayerIndex, use this function.
SetMatrixLayerParameter(String, MatrixLayerContext, MatrixLayerType, Boolean) To change parameter of the matrix, use this function.
SetMatrixLayerParameter(String, MatrixLayerContext, MatrixLayerPolarity, MatrixLayerType, Int32, Int32) To change parameter of the matrix, use this function.
SetMatrixLayerParameter(String, MatrixLayerContext, MatrixLayerPolarity, MatrixLayerType, Int32, Int32, Boolean) To change parameter of the matrix, use this function.
SetMatrixLayerPolarity(String, MatrixLayerPolarity) Set polarity for one layer.
SetMatrixLayerPolarity(String, MatrixLayerPolarity, Boolean) Set polarity for one layer.
SetMatrixLayerType(String, MatrixLayerType) Set type for one layer.
SetMatrixLayerType(String, MatrixLayerType, Boolean) Set type for one layer.
SetMatrixOrder(ListString) New Order for Matrix by names beginning with first index.
SetMatrixOrder(ListString, Boolean) New Order for Matrix by names beginning with first index.
UpdateDataAndList update the layerlist

Extension Methods

See Also