Skip to main content
View as Markdown

IPCB_Pad2 interface

Extends IPCB_Pad with the corner radius of rounded rectangular pads on each layer.

public interface IPCB_Pad2 : IPCB_Pad

Namespace: PCB · Assembly: Altium.SDK.Interfaces

Inherits: IPCB_Primitive → IPCB_Pad

Derived: IPCB_Pad3

Properties​

PropertyTypeAccessDescription
CornerRadiusOnLayerintgetThe corner radius of the pad's shape on the given layer, in internal units (10,000 per mil).
CRPercentageOnLayerbytegetThe corner radius percentage that applies to the pad's shape on the given layer, from 0 to 100.
StackCRPctOnLayerbyteget; setThe corner radius percentage stored in the pad's stack for the given layer, from 0 to 100.

CornerRadiusOnLayer​

The corner radius of the pad's shape on the given layer, in internal units (10,000 per mil).

int GetState_CornerRadiusOnLayer(V7_LayerBase argL);

Type: int · Access: read-only · Index: argL (V7_LayerBase): The layer to query.

The accessors are extension methods of IPCB_Pad2Helper (using PCB;).

0 unless the pad's shape on the layer is rounded rectangular (TShape.eRoundedRectangular) or a custom shape of kind TShapeSubKind.eRoundedRectangle or TShapeSubKind.eChamferedRectangle. On the top and bottom solder mask and paste mask layers, a radius greater than 0 includes the pad's mask expansion on that layer. The value is never negative.

CRPercentageOnLayer​

The corner radius percentage that applies to the pad's shape on the given layer, from 0 to 100.

byte GetState_CRPercentageOnLayer(V7_LayerBase argL);

Type: byte · Access: read-only · Index: argL (V7_LayerBase): The layer to query.

The accessors are extension methods of IPCB_Pad2Helper (using PCB;).

The percentage is of half the shorter side of the pad: 0% gives a rectangular pad and 100% a fully rounded pad shape. It applies only when the pad's shape is rounded rectangular (TShape.eRoundedRectangular).

For the top and bottom solder mask and paste mask layers, the value is that of the top or bottom layer on the same side. Returns 0 for a layer on which the pad does not appear, such as a solder mask layer on a tented side.

StackCRPctOnLayer​

The corner radius percentage stored in the pad's stack for the given layer, from 0 to 100.

byte GetState_StackCRPctOnLayer(V7_LayerBase argL);
void SetState_StackCRPctOnLayer(V7_LayerBase argL, byte argValue);

Type: byte · Access: read/write · Index: argL (V7_LayerBase): The layer of the pad stack.

The accessors are extension methods of IPCB_Pad2Helper (using PCB;).

The percentage is of half the shorter side of the pad on that layer: 0% gives a rectangular pad and 100% a fully rounded pad shape. It applies only when the pad's shape on the layer is rounded rectangular (TShape.eRoundedRectangular). Assigning a value greater than 100 stores 100.

Inherited members​

Returned by​

IPCB_PinPairTiePoint.TiePointPad