Query_Lang-PCBFunctions_Fields_PadShape_MidLayer20PadShape_MidLayer20_AD
This document is no longer available beyond version 21. Information can now be found here: PadShape_MidLayerN for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns pad objects whose Shape (Mid Layer 20) property complies with the Query.
Syntax
PadShape_MidLayer20 = PadShape_String
PadShape_MidLayer20 <> PadShape_String
PadShape_String
must be one of the following strings:
- 'Round'
- 'Rectangular'
- 'Octagonal'
- 'Rounded Rectangle'
Example Usage
PadShape_MidLayer20 = 'Rectangular'
Returns all pad objects whose Shape (Mid Layer 20) property is set to Rectangular.
PadShape_MidLayer20 <> 'Octagonal'
Returns all objects except for pad objects whose Shape (Mid Layer 20) property is set to Octagonal.
PadShape_MidLayer20 = 'Round' || PadShape_MidLayer20 = 'Rectangular'
Returns all pad objects whose Shape (Mid Layer 20) property is set to either Round or Rectangular.
IsPad && PadShape_MidLayer20 <> 'Octagonal'
Returns all objects except for pad objects whose Shape (Mid Layer 20) property is set to Octagonal.
Tips
- The single quote characters (') at the start and end of
PadShape_String
are mandatory. - For simple pads (with Stack Mode set to Simple) the Shape (Mid Layer 20) property will be the same as the Shape (All Layers) property, since the specified shape is used for all signal layers.
- For Top-Middle-Bottom pads (with Stack Mode set to Top-Middle-Bottom) the Shape (Mid Layer 20) 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.
- The Shape (Mid Layer 20) property is only defined for pad objects.