Home > PCB_Drc > saveRuleConfiguration
PCB_Drc.saveRuleConfiguration() 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
saveRuleConfiguration(ruleConfiguration: {
[key: string]: any;
}, configurationName: string, allowOverwrite?: boolean): Promise<boolean>;
1
2
3
2
3
Parameters
Parameter | Type | Description |
---|---|---|
ruleConfiguration | { [key: string]: any; } | 设计规则配置 |
configurationName | string | 配置名称 |
allowOverwrite | boolean | (Optional) 是否允许覆写同名设计规则配置, |
Returns
Promise<boolean>
保存是否成功