Query_Lang-PCBFunctions_AttributeChecks_IsSquarePadShapeOnLayerIsSquarePadShapeOnLayer_AD

您正在阅读的是 15.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_AttributeChecks_IsSquarePadShapeOnLayer((IsSquarePadShapeOnLayer))_AD 阅读 21 版本

Parent page: PCB Query Functions - Attribute Checks

Summary

Returns all pad objects with a square pad shape on the specified layer. An square pad shape is formed from a Rounded Rectangle pad shape, when the X-Size and Y-Size properties are set to be equal.

Syntax

IsSquarePadShapeOnLayer(Layer : String) : Boolean/Boolean_String

Layer is the name of the layer, as it appears on the Board Layers And Colors tab of the View Configurations dialog.

Example Usage

IsSquarePadShapeOnLayer('Top Layer')
IsSquarePadShapeOnLayer('Top Layer') = True
IsSquarePadShapeOnLayer('Top Layer') = 'True'

Returns all pad objects with a square pad shape on the Top Layer.

Not IsSquarePadShapeOnLayer('Bottom Layer')
IsSquarePadShapeOnLayer('Bottom Layer') = False
IsSquarePadShapeOnLayer('Bottom Layer') = 'False'

Returns all objects except pad objects with a square pad shape on the Bottom Layer.

Tips

  1. The single quote characters (') at the start and end of Layer are mandatory.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。