Altium Designer Documentation

Query_Lang-PCBFunctions_MembershipChecks_InNamedPolygonInNamedPolygon_AD

Created: September 14, 2015 | Updated: August 20, 2021

Parent page: PCB Query Functions - Membership Checks

Summary

Returns all primitive objects that are children of the specified polygon pour.

Syntax

InNamedPolygon(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

InNamedPolygon('Power3V3')
InNamedPolygon('Power3V3') = True
InNamedPolygon('Power3V3') = 'True'

Returns all primitive objects that are children of the polygon pour whose Name property is Power3V3.

Not InNamedPolygon('Power3V3')
InNamedPolygon('Power3V3') = False
InNamedPolygon('Power3V3') = 'False'

Returns all objects except primitive objects that are children of the polygon pour whose Name property is Power3V3.

Tips

  1. The single quote characters (') at the start and end of the PolygonName string are mandatory.
  2. The parent polygon pour object is also returned.
Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: