update_conductor_layer#

Stackup.update_conductor_layer(project, cca_name, layer, layer_type='', material='', thickness=0, thickness_unit='', conductor_percent='', resin_material='')#

Update a conductor layer with given properties.

Available Since: 2021R2

Parameters:
project: str

Name of the Sherlock project.

cca_name: str

Name of the CCA.

layer: str

Layer ID associated with the conductor layer.

layer_type: str, optional

Layer type. The default is "". For example, "SIGNAL", "POWER", or "SUBSTRATE".

material: str, optional

Conductor material. The default is "".

thickness: float, optional

Conductor layer thickness. The default is 0.

thickness_unit: str, optional

Units for the conductor layer thickness. The default is "".

conductor_percent: str, optional

Conductor percentage. The default is "".

resin_material: str, optional

Resin material. The default is "".

Returns:
:
int

Status code of the response. 0 for success.

Return type:

int

Examples

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> sherlock.project.import_odb_archive(
    "ODB++ Tutorial.tgz",
    True,
    True,
    True,
    True,
    project="Test",
    cca_name="Card",
)
>>> sherlock.stackup.update_conductor_layer(
    "Test",
    "Card",
    "3",
    "POWER",
    "COPPER",
    1.0,
    "oz",
    "94.2",
    "Generic FR-4 Generic FR-4"
)