Engine.CreateNewUniqueStepIds ( steps)
Creates new unique step Ids for a set of steps.
Call this method after cloning or copying a group of steps to ensure that the steps in the copy contain unique Ids. This method also modifies certain steps, such as Goto steps, that refer to unique Ids so that they refer to the newly generated Ids.
steps As Object Array
[In] Specifies an array of steps for which new unique step Ids are created.