Home > PCB_Drc > overwriteCurrentRuleConfiguration
PCB_Drc.overwriteCurrentRuleConfiguration() 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
overwriteCurrentRuleConfiguration(ruleConfiguration: Record<string, any>): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
ruleConfiguration | Record<string, any> | 设计规则配置 |
Returns
Promise<boolean>
覆写是否成功
Remarks
将会覆写 PCB 当前的设计规则配置,请注意数据丢失风险