Home > PCB_Layer > setAsDefaultPhysicalStackingConfiguration
PCB_Layer.setAsDefaultPhysicalStackingConfiguration() 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
public setAsDefaultPhysicalStackingConfiguration(configurationName: string, physicalProps?: IPCB_SubstratePhysicalProperties): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
configurationName | string | 配置名称 |
physicalProps | (Optional) 物理属性,如若不传入则默认为当前 PCB 属性 |
Returns
Promise<boolean>
设置是否成功
Remarks
返回值为结果导向,重复设置相同的物理叠层为默认物理叠层也将返回 true ADD since EDA v4.2