Query_Lang-PCBFunctions_Fields_PadShape_AllLayersPadShape_AllLayers_AD
软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。
如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all simple pad objects, whose Shape (All Layers) property complies with the Query.
Syntax Copy Link Copied
PadShape_AllLayers = PadShape_String
PadShape_AllLayers <> PadShape_String
PadShape_String
must be one of the following strings:
- 'Round'
- 'Rectangular'
- 'Octagonal'
- 'Rounded Rectangle'
Example Usage Copy Link Copied
PadShape_AllLayers = 'Rectangular'
Returns all simple pad objects whose Shape (All Layers) property is set to Rectangular.
PadShape_AllLayers <> 'Octagonal'
Returns all objects except for simple pad objects whose Shape (All Layers) property is set to Octagonal.
PadShape_AllLayers = 'Round' || PadShape_AllLayers = 'Rectangular'
Returns all simple pad objects whose Shape (All Layers) property is set to either Round or Rectangular.
IsPad && PadShape_AllLayers <> 'Octagonal'
Returns all objects except for simple pad objects whose Shape (All Layers) property is set to Octagonal.
Tips Copy Link Copied
- The single quote characters (') at the start and end of
PadShape_String
are mandatory. - The Shape (All Layers) property is only defined for simple pads (those with Stack Mode property set to Simple).