enable_lead_modeling#
- Parts.enable_lead_modeling(project, cca_name)#
Enable lead modeling for leaded parts.
Available Since: 2021R2
- Parameters:
- project: str
Name of the Sherlock project.
- cca_name: str
Name of the CCA.
- Returns:
- :
intStatus code of the response. 0 for success.
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", >>> ) >>> sherlock.parts.enable_lead_modeling( >>> "Test", >>> "Card" >>> )