Quantcast
Channel: Cadence PCB Skill Forum
Viewing all articles
Browse latest Browse all 2154

Delete DRC mark

$
0
0

Hi Sir,

The skill code show the error as below:

But I only need 1 refdes & 1 error that  the error is the minimal airgap.

axlSetFindFilter( ?enabled '(noall drcs) ?onButtons '(drcs))
Markers = axlGetSelSet(axlAddSelectAll())
DRC2_Markers = setof( x1 Markers rexMatchp("Externally Determined Violation" x1~>name))
 (foreach x1 DRC2_Markers
  (foreach y1 remove(x1 DRC2_Markers)
   a = atof(flatten(x1~>actual))
   b = atof(flatten(y1~>actual))
    (if a > b then
     (if x1~>violations~>parent~>parent ~>refdes == y1~>violations~>parent~>parent ~>refdes then
      axlDeleteObject(x1)
     ))))

error message

=> E- *Error* mapcan: argument #2 should be a list (type template = "ul") - "1.42308 mm"

data

Skill > DRC2_Markers~>??
((prop propList:0000024D26285128 bBox
((63.2025 9.3075)
(63.8375 9.9425)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/TOP" xy
(63.52 9.625) violations
(dbid:0000024D143A6698 dbid:0000024D143BB940) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "1.42308 mm" name "Externally Determined Violation"
)
(prop propList:0000024D26285140 bBox
((63.9325 8.8775)
(64.5675 9.5125)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/TOP" xy
(64.25 9.195) violations
(dbid:0000024D143A6728 dbid:0000024D143BB620) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "1.4966 mm" name "Externally Determined Violation"
)
(prop propList:0000024D26285158 bBox
((69.5324 6.4325)
(70.1674 7.0675)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/BOTTOM" xy
(69.8499 6.75) violations
(dbid:0000024D143CFA90 dbid:0000024D143BB0A8) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "0.9864 mm" name "Externally Determined Violation"
)
(prop propList:0000024D26285170 bBox
((70.6825 5.8826)
(71.3175 6.5176)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/BOTTOM" xy
(71.0 6.2001) violations
(dbid:0000024D143CFA00 dbid:0000024D143BB0A8) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "0.9864 mm" name "Externally Determined Violation"
)
(prop propList:0000024D26285188 bBox
((70.6825 6.9824)
(71.3175 7.6174)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/BOTTOM" xy
(71.0 7.2999) violations
(dbid:0000024D143CFB20 dbid:0000024D143BB0A8) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "0.9864 mm" name "Externally Determined Violation"
)
(prop propList:0000024D262851A0 bBox
((64.6625 9.3075)
(65.2975 9.9425)
) readOnly
t objType "drc" waived nil
layer "DRC ERROR CLASS/TOP" xy
(64.98 9.625) violations
(dbid:0000024D143A6578 dbid:0000024D143BB620) type "PAD to SKT Gap needs >= 1.5mm" source "Golden-finger keepout area"
fixed nil parent dbid:0000024D10BC2D30 expected
"1.5mm" actual "1.4966 mm" name "Externally Determined Violation"
)
)
Skill > DRC2_Markers~>actual
("1.42308 mm" "1.4966 mm" "0.9864 mm" "0.9864 mm" "0.9864 mm"
"1.4966 mm"
)

How can I fix the code?

Thanks~


Viewing all articles
Browse latest Browse all 2154


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>