User LayoutEditorFull Tuesday 19th January 2021
When running DRC (using a macro in my case), potentially lots of new cells are generated if there are errors. Is there a function to clear such generated error cells in one go rather than having to go in to cell list and deleting multiple new cells manually (up to 45 in my case).
Alternatively is there a way to add the new rule error cells as sub-cells in a single DRC error cell under the cell being DRCed to only have to delete a single cell manually and avoid cluttering the cell list?
Jürgen LayoutEditorFull Tuesday 19th January 2021Attachments: (only for registered users) Screenshot_20210119_211900.png
The *Clear DRC* button will do that.

To clear it from a macro call
```cpp
layout->drcTool->clearDRC();
```
User LayoutEditorFull Wednesday 20th January 2021
Thanks. Does this button clear all DRC cells from the whole design, just the currently viewed cell or the currently viewed cell plus hierarchy?
Jürgen LayoutEditorFull Wednesday 20th January 2021
Its removes any DRC result from the current displayed cell. To remove any previous DRC from the design, you need to write a short macro with a loop over each cell.
Support forums are fading
Support forums are fading because nobody wants to wait days for a reply. AI answers faster and better. LayoutEditor is no different: please use Help → AI Console in the LayoutEditor for all questions. If that is not enough, licensed users still have e-mail support at support@layouteditor.com. This forum remains available here as an archive.