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.
获取当前设计规则配置
Signature
typescript
getCurrentRuleConfiguration(): Promise<{
[key: string]: any;
} | undefined>;
1
2
3
2
3
Returns
Promise<{ [key: string]: any; } | undefined>
当前设计规则配置,undefined
为获取失败