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.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public double GetHeightOfLayer(
	string Layername,
	MatrixLayerType typeOfLayer
)

Parameters

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).

Return Value

Double
Height of layer in mils (-1 if error happens or 0 if not found).

Implements

InterfaceStepGetHeightOfLayer(String, MatrixLayerType)

See Also