Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygonIsNamedPolygon_AD
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 3.2. For the latest, read: Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygon((IsNamedPolygon))_AD for version 4
Parent page: PCB Query Functions - Membership Checks
Summary
Returns the specified polygon pour.
Syntax
IsNamedPolygon(PolygonName : String) : Boolean/Boolean_String
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
- The single quote characters (') at the start and end of the
PolygonName
string are mandatory. - The child primitive objects of the returned polgon pour object are not returned.