update_solder_fatigue_props#
- Analysis.update_solder_fatigue_props(project, solder_fatigue_properties)#
Update properties for a solder fatigue analysis.
Available Since: 2024R1
- Parameters:
- project: str
Name of the Sherlock project.
- solder_fatigue_properties: list[dict[str, bool | float | str]]
Mechanical shock properties for a CCA consisting of these properties:
- cca_name: str
Name of the CCA.
- solder_material: str
Solder material. The default is
None.
- part_temp: float
Part temperature. The default is
None.
- part_temp_units: str
Part temperature units. The default is
None.
- use_part_temp_rise_min: bool
whether to apply min temp rise. The default is
None.
- part_validation_enabled: bool
Whether to enable part validation. The default is
None.
- Returns:
- :
intStatus code of the response. 0 for success.
- Return type:
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.analysis.update_solder_fatigue_props( >>> "Test", >>> [{ >>> "cca_name": "Card", >>> "solder_material": "TIN-LEAD (63SN37PB)", >>> "part_temp": 70, >>> "part_temp_units": "F", >>> "use_part_temp_rise_min": True, >>> "part_validation_enabled": True >>> }, >>> ] >>> )