SY015 - Copy Drawings in Batch
- Last UpdatedNov 28, 2025
- 2 minute read
This program can copy drawings within a project. It is batch version of the interactive function File > Databank > Copy Drawings…. For detailed information about the functionality please see the documentation of this function, COPY DRAWINGS. You start the program directly from a windows command prompt. As an alternative you can also start in from the interactive function "File\Databnk\Copy Drawings…". Check the Run in batch checkbox before pressing the Copy button. Sy015 will now start and you can monitor the progress in the Job Launcher.
The program can be invoked from a command prompt by the following call:
|
sy015 |
[-from <source selection > ] [-to <target location>] |
||
|
[-dwgprefix <nameprefix>] [-dwgsuffix <namesuffix>] |
|||
|
[-regiprefix <nameprefix>] [-regisuffix <namesuffix>] [-logfile <logfilename>] |
|||
|
[-newdwgname <newdwgname>] |
|||
|
-from <source selection> |
Mandatory |
Drawings to be copied. Can be the name of a SHEE, DRWG, REGI or DEPT |
|
|
-to <target location> |
Mandatory |
Target location. Can be the name of a REGI or a DEPT. |
|
|
[-dwgprefix <nameprefix>] |
Optional |
New drawing name prefix. If not given the value of the drafting default keyword DWG_COPY_TARGET_DWG_PREFIX will be used. |
|
|
[-dwgsuffix <namesuffix>] |
Optional |
New drawing name suffix. . If not given the value of the drafting default keyword DWG_COPY_TARGET_DWG_SUFFIX will be used. |
|
|
[-regiprefix <nameprefix>] |
Optional |
New REGI name prefix. If not given the value of the drafting default keyword DWG_COPY_TARGET_REGI_PREFIX will be used. |
|
|
[-regisuffix <namesuffix>] |
Optional |
New REGI name suffix. If not given the value of the drafting default keyword DWG_COPY_TARGET_REGI_SUFFIX will be used. |
|
|
[-logfile <logfilename>] |
Optional |
The name of the log file. If not given the messages will be sent to standard output. |
|
|
[-newdwgname <newdwgname>] |
Optional |
New explicit name of drawing, only valid for DRWG or SHEET, optional. |
|
Example
As for all batch programs you need to also supply the project login in addition to the program specific input:
>sy015.exe -proj=MAR -user=SYSTEM -pass=XXXXXX -mdb=/ALL_NO_MDS -from "MarDwg" -to "NEW_DEPT"