IStepGetHeightOfLayer(String, MatrixLayerType) Method
Get Height of layer from layer attributes, this is depending on the matrix layer type. For dielectric layers is a other attribute relevant (.layer_dielectric) and for copper layers it use .copper_weight.
All values are in mils.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public double GetHeightOfLayer(
string Layername,
MatrixLayerType typeOfLayer
)
Public Function GetHeightOfLayer (
Layername As String,
typeOfLayer As MatrixLayerType
) As Double
public:
virtual double GetHeightOfLayer(
String^ Layername,
MatrixLayerType typeOfLayer
) sealed
abstract GetHeightOfLayer :
Layername : string *
typeOfLayer : MatrixLayerType -> float
override GetHeightOfLayer :
Layername : string *
typeOfLayer : MatrixLayerType -> float
- Layername String
- This layer is checked for layer attribute height.
- typeOfLayer MatrixLayerType
- Depending on the type different attributes are relevant (use IMatrix to get the type).
DoubleHeight of layer in mils (-1 if error happens or 0 if not found).
InterfaceStepGetHeightOfLayer(String, MatrixLayerType)