Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygonIsNamedPolygon_AD
Created: September 13, 2015 | Updated: August 20, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
Now reading version 18.0. For the latest, read: Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygon((IsNamedPolygon))_AD for version 21
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.