Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygonIsNamedPolygon_AD
Created: 九月 13, 2015 | Updated: 八月 20, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
您正在阅读的是 2.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_MembershipChecks_IsNamedPolygon((IsNamedPolygon))_AD 阅读 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.