PadShape_MidLayer2

Now reading version 20.2. For the latest, read: PadShape_MidLayer2 for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: PCB Query Functions - Fields

Summary

Returns pad objects whose Shape (Mid Layer 2) property complies with the Query.

Syntax

PadShape_MidLayer2 = PadShape_String
PadShape_MidLayer2 <> PadShape_String

PadShape_String must be one of the following strings:

  • 'Round'
  • 'Rectangular'
  • 'Octagonal'
  • 'Rounded Rectangle'

Example Usage

PadShape_MidLayer2 = 'Rectangular'
Returns all pad objects whose Shape (Mid Layer 2) property is set to Rectangular.

PadShape_MidLayer2 <> 'Octagonal'
Returns all objects except for pad objects whose Shape (Mid Layer 2) property is set to Octagonal.

PadShape_MidLayer2 = 'Round' || PadShape_MidLayer2 = 'Rectangular'
Returns all pad objects whose Shape (Mid Layer 2) property is set to either Round or Rectangular.

IsPad && PadShape_MidLayer2 <> 'Octagonal'
Returns all objects except for pad objects whose Shape (Mid Layer 2) property is set to Octagonal.

Tips

  1. The single quote characters (') at the start and end of PadShape_String are mandatory.
  2. For simple pads (with Stack Mode set to Simple) the Shape (Mid Layer 2) property will be the same as the Shape (All Layers) property, since the specified shape is used for all signal layers.
  3. For Top-Middle-Bottom pads (with Stack Mode set to Top-Middle-Bottom) the Shape (Mid Layer 2) property will be the same as the Shape (Mid Layer 1) property, since the shape specified for Signal Layer 1 is applied to all internal ('middle') signal layers.
  4. The Shape (Mid Layer 2) property is only defined for pad objects.

 

Note

The features available depend on your level of Altium Designer Software Subscription.