Home > PCB_Drc > setAsDefaultRuleConfiguration
PCB_Drc.setAsDefaultRuleConfiguration() 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.
设置为新建 PCB 默认设计规则配置
Signature
typescript
setAsDefaultRuleConfiguration(configurationName: string): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
configurationName | string | 配置名称 |
Returns
Promise<boolean>
设置是否成功
Remarks
返回值为结果导向,重复设置相同的设计规则为默认设计规则也将返回 true