NXOpen.UF.Assem.WhereUsedReport

Assem.WhereUsedReport()

Refer to UF_ASSEM_where_used_report for documentation.

Signature: WhereUsedReport(compName, dir, searchOpt, doAllLevels)

Parameters:
  • compName (str) – Component file name. This should be the simple name without a directory path.
  • dir (str) – specified directory if search_opt = 2
  • searchOpt (int) – search options 0 = use search directories 1 = use component directory 2 = use
  • doAllLevels (bool) – report all levels of the assembly tree in which a component is found
Returns:

See the UF_PART_load_status_t structure definition. The allocated structure is filled with the names and associated error codes of any parts that did not load correctly. The allocated arrays must be freed with UF_free_string_array and UF_free.

Return type:

NXOpen.UF.Part.LoadStatus Refer to UF_PART_load_status_s for documentation.

License requirements: None