get_parts_list_validation_analysis_props#

Analysis.get_parts_list_validation_analysis_props(project, cca_name)#

Get properties for a Part List Validation analysis.

Parameters:
project: str

Name of the Sherlock project.

cca_name: str

Name of the CCA.

Returns:
:
PartsListValidationPropsResponse
  • returnCode: ReturnCode
    • value: int

      Status code of the response. 0 for success.

    • message: str

      indicates general errors that occurred while attempting to update parts

  • partLibrary: str

    Part library name

  • processUseAVL: bool

    Process option to use AVL

  • processUseWizard: bool

    Process option to use wizard

  • processCheckConfirmedProperties: bool

    Process option to check confirmed properties

  • processCheckPartNumbers: bool

    Process option to check part numbers

  • matching: MatchingMode

    Matching type

  • avlRequireInternalPartNumber: bool

    AVL option to require internal part number

  • avlRequireApprovedDescription: bool

    AVL option to require approved description

  • avlRequireApprovedManufacturer: bool

    AVL option to require approved manufacturer

Return type:

PartsListValidationPropsResponse

Examples

>>> 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",
)
>>> analysis_props = sherlock.analysis.get_parts_list_validation_analysis_props(
    "Test", "Card"
)