InNamedPolygon
Created: September 13, 2015 | Updated: August 20, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 2.0. For the latest, read: InNamedPolygon for version 4
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
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
- The single quote characters (') at the start and end of the
PolygonName
string are mandatory. - The parent polygon pour object is also returned.