Home > PCB_Layer > overwriteCurrentPhysicalStackingConfiguration
PCB_Layer.overwriteCurrentPhysicalStackingConfiguration() 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.
Overwrite current physical stacking configuration
Signature
typescript
function overwriteCurrentPhysicalStackingConfiguration(
physicalStackingConfiguration: IPCB_PhysicalStackingConfiguration,
): Promise<boolean>;1
2
3
2
3
Parameters
Parameter | Type | Description |
|---|---|---|
physicalStackingConfiguration |
Returns
Promise<boolean>
Overwrite whether it is successful
Remarks
It will overwrite the current physical stacking configuration of the PCB. Please note the risk of data loss
如果传入的物理叠层配置不符合当前 PCB 的物理属性,将会直接返回 false 且不进行修改 ADD since EDA v4.2