Query_Lang-PCBFunctions_Fields_PadShape_TopLayerPadShape_TopLayer_AD

This document is no longer available beyond version 21. Information can now be found here: PadShape_TopLayer for version 25

Parent page: PCB Query Functions - Fields

Summary

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

Syntax

PadShape_TopLayer = PadShape_String
PadShape_TopLayer <> PadShape_String

PadShape_String must be one of the following strings:

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

Example Usage

PadShape_TopLayer = 'Rectangular'
Returns all pad objects whose Shape (Top Layer) property is set to Rectangular.

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

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

IsPad && PadShape_TopLayer <> 'Octagonal'
Returns all objects except for pad objects whose Shape (Top Layer) 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 (Top Layer) property will be the same as the Shape (All Layers) property, since the specified shape is used for all signal layers.
  3. The Shape (Top Layer) property is only defined for pad objects.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Примечание

Набор доступных функций зависит от вашего уровня доступа к продуктам Altium. Ознакомьтесь с функциями, включенными в различные уровни Подписки на ПО Altium, и функциональными возможностями приложений, предоставляемых платформой Altium 365.

Если вы не видите в своем ПО функцию, описанную здесь, свяжитесь с отделом продаж Altium, чтобы узнать больше.