Home > PCB_Drc > renameRuleConfiguration
PCB_Drc.renameRuleConfiguration() 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
renameRuleConfiguration(originalConfigurationName: string, configurationName: string): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
originalConfigurationName | string | 原设计规则配置名称 |
configurationName | string | 新设计规则配置名称 |
Returns
Promise<boolean>
重命名是否成功
Remarks
只有自定义配置可以重命名,系统配置不允许重命名