NXOpen.UF.Assem.UseAlternate

Assem.UseAlternate()

Refer to UF_ASSEM_use_alternate for documentation.

Signature: UseAlternate(instance, newPart, newCompName, newRefsetName)

Parameters:
  • instance (Tag) – Pointer to tag of instance
  • newPart (str) – Name of the new part to use in place of the old part
  • newCompName (str) – New name of the component; must be no longer than UF_OBJ_NAME_NCHARS characters.
  • newRefsetName (str) – Name of reference set to use; must be no longer than UF_OBJ_NAME_NCHARS characters.
Returns:

See the UF_PART_load_status_t structure definition. The allocated structure is filled with the names and asso ciated 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: ASSEMBLIES MODULE