Home Search

DriveWorks Pro 20
Copy File

Send Feedback

Copy File

Copies a file to a new location.


(Name)The unique name for this task.
DestinationThe path to the destination.
SourceThe path to the source file to copy.

DriveWorks will resolve relative paths from the currently driven component's path.

For example:

If the path is:

MyComponents\Parts\MyPart.sldprt (not fully qualified)

and the models target path is:


DriveWorks will attempt to find the path at:


OverwriteTRUE to overwrite the file if it already exists.
MoveTRUE to move the file, FALSE to copy it.
If this Generation Task is not in the Post Close Task Sequence and the source file is in use by another program (for example SOLIDWORKS), the Task will fail.