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: {
[key: string]: any;
}): Promise<boolean>;1
2
3
2
3
Parameters
Parameter | Type | Description |
|---|---|---|
ruleConfiguration | { [key: string]: any; } |
Returns
Promise<boolean>
覆写是否成功
Remarks
将会覆写当前 PCB 的目前规则管理,请注意数据丢失风险