IsOvalPadShapeOnLayer

Now reading version 18.1. For the latest, read: IsOvalPadShapeOnLayer for version 21
Applies to Altium Designer versions: 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: PCB Query Functions - Attribute Checks

Summary

Returns all pad objects with an oval pad shape on the specified layer. An oval pad shape is formed from a Round pad shape when the X-Size and Y-Size properties are set to be non-equal.

Syntax

IsOvalPadShapeOnLayer(Layer : String) : Boolean/Boolean_String

Layer is the name of the layer as it appears on the Layers & Colors tab of the View Configuration panel.

Example Usage

IsOvalPadShapeOnLayer('Top Layer')
IsOvalPadShapeOnLayer('Top Layer') = True
IsOvalPadShapeOnLayer('Top Layer') = 'True'

Returns all pad objects with an oval pad shape on the Top Layer.

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

Returns all objects except pad objects with an oval pad shape on the Bottom Layer.

Tips

  1. The single quote characters (') at the start and end of Layer are mandatory.
Note

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