Created: September 3, 2015 | Updated: August 20, 2021
Parent page: PCB Query Functions - Object Type Checks
Returns polygon pour objects.
IsPolygon : Boolean
Polygon = True
Returns all polygon pour objects.
Polygon = False
Returns all objects except polygon pour objects.
- This function is an alias for the IsPoly function.
- When defining an Electrical Clearance rule for polygon pours, you must use the InPolygon (or InPoly) attribute check, rather than the IsPolygon (or IsPoly) object type check. This is because the clearance rules operate on the primitives (regions, tracks and arcs) that make up, or are in the polygon pour, rather than the polygon pour as a whole object. A valid clearance rule for polygon pours would be between InPolygon objects and All other objects.
Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.