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.
Set as the default physical stacking configuration for new PCBs
Signature
typescript
function setAsDefaultPhysicalStackingConfiguration(
configurationName: string,
physicalProps?: IPCB_SubstratePhysicalProperties,
): Promise<boolean>;1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
|---|---|---|
configurationName | string | Configuration name |
physicalProps | (Optional) Physical properties. If not passed in, the current PCB properties are used by default |
Returns
Promise<boolean>
Set Whether Successful
Remarks
The return value is result-oriented. Repeatedly setting the same physical stacking as the default will also return true ADD since EDA v4.2