The problem in your file is that you add creepage constraint on netclass, but you do not define netclasses. So the creepage checks is defined on inexistant netclasses, and therefore nothing runs.
EDIT: in your last post, it detects something because you are adding a 5mm creepage constraint for every single net
This is how I usually do
-
Define netclass
-
Add nets to netclass
-
Update PCB
-
Run the check with this rule:
(version 1)
(rule HV_HV
(constraint creepage (min 20.50mm))
(condition “A.hasNetclass(‘L1’) && B.hasNetclass(‘L2’)”)
)
The error is detected


