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

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.

Source URL: https://www.altium.com/documentation/knowledge-base/altium-designer/troubleshoot-electrical-clearance-rule-incorrect-definitions-error-when-using-ispolygon-or-ispoly