IsNamedPolygon

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

Applies to Altium Designer version: 21

Parent page: PCB Query Functions - Membership Checks

Summary

Returns the specified polygon pour.

Syntax

IsNamedPolygon(PolygonName : String) : Boolean/Boolean_String

As you define the Query expression, a pop-up list of all existing polygon pours, by name, is presented.

Example Usage

IsNamedPolygon('Power3V3')
IsNamedPolygon('Power3V3') = True
IsNamedPolygon('Power3V3') = 'True'

Returns the polygon pour object whose Name property is Power3V3.

Not IsNamedPolygon('Power3V3')
IsNamedPolygon('Power3V3') = False
IsNamedPolygon('Power3V3') = 'False'

Returns all objects except the polygon pour object whose Name property is Power3V3.

Tips

  1. The single quote characters (') at the start and end of the PolygonName string are mandatory.
  2. The child primitive objects of the returned polgon pour object are not returned.
Note

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