Query_Lang-PCBFunctions_MembershipChecks_InPolygonClassInPolygonClass_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_InPolygonClass((InPolygonClass))_AD for version 4
Parent page: PCB Query Functions - Membership Checks
Summary
Returns all polygon pour objects that are members of the specified Polygon Class.
Syntax
InPolygonClass(ClassName : String) : Boolean/Boolean_String
Example Usage
InPolygonClass('Top Side Polys')
InPolygonClass('Top Side Polys') = True
InPolygonClass('Top Side Polys') = 'True'
Returns all polygon pour objects that are members of the Top Side Polys
Polygon Class.
Not InPolygonClass('Custom Polys')
InPolygonClass('Custom Polys') = False
InPolygonClass('Custom Polys') = 'False'
Returns all objects except polygon pour objects that are members of the Custom Polys
Polygon Class.
Tips
- The single quote characters (') at the start and end of the
ClassName
string are mandatory.