NXOpen.UF.Wave.LoadParents

Wave.LoadParents()

Refer to UF_WAVE_load_parents for documentation.

Signature: LoadParents(part, parentOption)

Parameters:
  • part (Tag) – Tag of the part for which to load the parts of
  • parentOption (int) – This is the WAVE load option as described in uf_assem_types.h UF_ASSEM_none Don’t load any non-loaded parents, but fully load partially loaded parents. UF_ASSEM_immediate Only load the immediate parents (First-level parents) UF_ASSEM_all Recursively load parents, and parents of parents until there are no more parents left to load.
Returns:

A Tuple

Return type:

A tuple consisting of (nFailures,failingParts,failingStatuses,int)

nFailures(int): Number of parent parts that failed to load

failingParts(list of str): Names of the parts that failed to load Use UF_free_string_array to deallocate memory when done.

failingStatuses(list of int): Error codes for the failures in corresponding order Use UF_free to deallocate memory when done.

retVar(int):

License requirements: WAVE FUNCTIONALITY