alias_api.copy_object

alias_api.copy_object(node: alias_api.AlDagNode, run_cleanup: SupportsInt = True) alias_api.AlDagNode

This function performs the copy of the dag node based on the copy options that have been set with the setCopyOptionFlags() routine.

Note: set runCleanup to False if you will be performing many copies, then call AlDagNodeExt::copyObjectCleanup() after. This will speed up the copying of objects.

Parameters
  • node (AlDagNode) – The dag node to copy

  • run_cleanup (bool) – Flag to run clean up after copy object operation. Defaults to True.

Returns

The copied object

Return type

AlDagNode