Hi Tomas,
for some reason i still dont get an error message with that script. If I understand correctly that outside-method returns shapes. So i have to perform some check for that shape that it produces.
I performed a "dummy width check"…
Here is example layout where we can clearly see that other layer does not enclose the other. But there is no error from enclosing check? With the DRC check i want to check that l1 layer indeed encloses layer l2. Thanks, hwest(Image)