update_laminate_layer#
- Stackup.update_laminate_layer(project, cca_name, layer, manufacturer='', grade='', material='', thickness=0, thickness_unit='', construction_style='', glass_construction=[], fiber_material='', conductor_material='', conductor_percent='')#
Update a laminate 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.
manufacturer (str, optional) – Name of the material manufacturer. The manufacturer name must be provided along with the material grade and material name.
grade (str, optional) – Material grade.
material (str, optional) – Material name.
thickness (double, optional) – Laminate thickness.
thickness_unit (str, optional) – Units for laminate thickness.
construction_style (str, optional) – Construction style.
glass_construction ((str, double, double, str) list, optional) – List of (style, resinPercentage, thickness, thicknessUnit) layers Represents the layers with a glass construction.
fiber_material (str, optional) – Fiber material. This parameter is only updated if glass construction is selected.
conductor_material (str, optional) – Conductor material.
conductor_percent (str, optional) – Conductor percentage.
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_laminate_layer( "Test", "Card", "2", "Generic", "FR-4", "Generic FR-4", 0.015, "in", "106", [ ("106", 68.0, 0.015, "in") ], "E-GLASS", "COPPER", "0.0", )