get_total_conductor_thickness#

Stackup.get_total_conductor_thickness(project, cca_name, thickness_unit)#

Return the total conductor thickness.

Available Since: 2021R2

Parameters:
  • project (str, required) – Sherlock project name.

  • cca_name (str, required) – The CCA name.

  • thickness_unit (str, optional) – Units for laminate thickness.

Returns:

The conductor thickness of the CCA in the specified units.

Return type:

float

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",
)
>>> total_thickness = sherlock.stackup.get_total_conductor_thickness(project="Tutorial",
                                                         cca_name="Main Board",
                                                         thickness_unit="oz")
>>>print(f"{total_thickness}")