The PCB Editor SKILL API provides the axlDBCreateExternalDRC() to allow you to programmatically add DRC markers to the PCB Editor database.