Support Forum

Customize DRC

User

Thursday 7th February 2019
How can I set a new DRC definition file in LayoutEditor, or use an existing one (for example Assura or Calibre) ?
Jürgen
LayoutEditorFull
Thursday 7th February 2019
You need to write a macro with all the DRC should be done. This is typical two lines of code per rule. An example of such a macro is shown in the manual: [DRC Macro Example](https://layouteditor.org/layout/design-rule-checker/checking-designs#Macros) ``` // check for layer metal 1 layout->drcTool->ruleName= "Minimum Size Metal1"; layout->drcTool->minimumSize(800,6,true); ``` Importing a DRC rule definition from Assura or Calibre format is not supported.