The Copy Businessobject command is used to move the file(s)
of a vcmodule connection or vcfolder connection to another DesignSync
repository pointed to by a DesignSync store in 3DSpace.
This MQL command copies to a DSFA store:
copy businessobject BO_NAME vcmodule
to store NAME path STRING [VERSION];
Or
copy businessobject BO_NAME vcfolder to store
NAME path STRING config NAME;
BO_NAME is the name of the business object that is
connected to the vcmodule or vcfolder from which you are copying files.
store NAME is the DesignSync store to which you
are copying over the files.
path STRING is the string that identifies the path
of folders leading to vcmodule or vcfolder from which you are copying
the files. If this path does not exist in the destination store, it is
created during the copy process.
config NAME is the name of the configuration in
the DesignSync server which contains the folder.
VERSION is the version of the vcfile you are copying.
The VERSION determines what happens if the file already exists in the
destination DesignSync store. If the file already exists, the VERSION
is used to determine what branch to append the file as a new version.
A new version is only created if the file differs from the version that
is currently the last one on the branch. If any file being copied already
exists at the target location, the same rule applies with the module
version determining the branch.