maeCreateRunCopy
maeCreateRunCopy(
?run t_run
[ ?session t_session ]
[ ?copyName g_copyName ]
)
=> t / nil
Description
Creates a copy of the specified run in the run plan.
Arguments
|
?run t_run
|
Name of the source run to be copied.
By default, this argument is set to nil. If not specified, the function returns an error.
|
|
?session t_session
|
Name of the session. If not specified, the current session is used.
|
|
?copyName t_copyName
|
|
|
Name to be assigned to the copied run. If not specified, the name of the copied run is in the format sourceRunName:incrNum where, incrNum starts with 1.
|
Value Returned
|
t
|
A copy of the given run is created.
|
|
nil
|
indicates an error
|
Examples
Creates a copy of run Run.0:
maeCreateRunCopy(?run "Run.0")
=> t
; The name of the copy of the run is Run.0:1
Creates a copy of run Run.0 and the new run is named Run.0_copy:
maeCreateRunCopy(?run "Run.0" ?copyName "Run.0_copy")
=> t
Related Topics
Creating a Run by Copying Another Run
Return to top