NXOpen.UF.Wave.CopyComponentAs

Wave.CopyComponentAs()

Refer to UF_WAVE_copy_component_as for documentation.

Signature: CopyComponentAs(sourcePartOccurrence, sourcePartName, newPartName, referenceSetName, instanceName, transform)

Parameters:
  • sourcePartOccurrence (Tag) – The part occurrence that is being copied
  • sourcePartName (str) – The component part name that is to be copied
  • newPartName (str) – The new component part name that will exist in the current assembly.
  • referenceSetName (str) – Name of reference set to use from component parts. The refset_name cannot exceed 30 characters, cannot include a directory path, and should not have a file extension.
  • instanceName (str) – Name of new instance The instance_name cannot exceed 30 characters, cannot include a directory path, and should not have a file extension.
  • transform (list of float) – The transform to apply to the new component
Returns:

A Tuple

Return type:

A tuple consisting of (newInstance,newPart)

newInstance(Tag): The new instance tag created in the assembly

newPart(Tag): The new part tag that is a copy of parent part.

License requirements: WAVE FUNCTIONALITY