Home > PCB_Drc > getCurrentRuleConfiguration
PCB_Drc.getCurrentRuleConfiguration() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get Current design rule configuration
Signature
typescript
function getCurrentRuleConfiguration(): Promise<Record<string, any> | undefined>;1
Returns
Promise<Record<string, any> | undefined>
Current design rule configuration; undefined indicates that the retrieval failed