get_stackup_props#

Stackup.get_stackup_props(project: str, cca_name: str) StackupProperties#

Get the stackup properties from a CCA.

Available Since: 2021R2

Parameters:
  • project (str) – Name of the Sherlock project.

  • cca_name (str) – Name of the CCA.

Returns:

Object containing the properties of the stackup.

Return type:

StackupProperties

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