KB: Troubleshoot Electrical Clearance rule incorrect definitions error when using IsPolygon or IsPoly

Altium Designer Altium Designer
Starting in version: 18 Up to Current
When using an Electrical Clearance design rule to define the clearance between a Polygon Pour and other signal layer copper objects, a Custom Query can be used. If the Custom Query used includes the object type check IsPolygon, then an error message indicating Some Rules Have Incorrect Definitions will be given. The proper Custom Query should use the attribute check InPolygon, or the membership check InNamedPolygon.

Solution Details

When creating an Electrical Clearance design rule using the custom query IsPolygon (alias IsPoly), a message stating Some Rules Have Incorrect Definitions will be given:

IsPolyon_IsPoly_SomeRulesHaveIncorrectDefinitions.jpg

 

To resolve the error use a custom query of either InPolygon (alias InPoly), or InNamedPolygon.

 

Further details on the InPolygon attribute check keyword are available here:

https://www.altium.com/documentation/altium-designer/attribute-checks-pcb-layout-query-functions#inpolygon

 

Further details on the InNamedPolygon membership check keyword are available here:

https://www.altium.com/documentation/altium-designer/membership-checks-pcb-layout-query-functions#innamedpolygon

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.