update_conductor_layer#
- Stackup.update_conductor_layer(project, cca_name, layer, type='', material='', thickness=0, thickness_unit='', conductor_percent='', resin_material='')#
Update a conductor layer with given properties.
- Parameters:
project (str) – Name of the Sherlock project.
cca_name (str) – Name of the CCA.
layer (str) – Layer ID associated with this conductor layer.
type (str, optional) – Layer type. For example,
"SIGNAL","POWER", and"SUBSTRATE".material (str, optional) – Name of the conductor material.
thickness (double, optional) – Conductor layer thickness.
thickness_unit (str, optional) – Units for conductor layer thickness.
conductor_percent (str, optional) – Conductor percentage.
resin_material (str, optional) – Resin material.
Note
Using the default value for a property cause no changes for that property.
Example
>>> 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", )