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) – str: Sherlock project name.

  • cca_name (str) – str: The CCA name.

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

Return type:

float

Returns:

:
float

The conductor thickness of the CCA in the specified units.

Examples

>>> from ansys.sherlock.core import launcher
>>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua")
>>> 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="in",
>>> )
>>> print(f"{total_thickness}")