SY013 - Store Drawings in the PADD Database
- Last UpdatedNov 28, 2025
- 2 minute read
The main purpose of SY013 is to migrate drawings from Tribon M3 into AVEVA Marine. In the first step in the migration the drawings will be output on a number of .SDB files. SY013 can read these files and store the drawings and their contents in the PADD database.
However, SY013 can also be run on drawings that already exist in the PADD database. In that case SY013will then check if there are some parts of the drawing object that are not in the PADD database and update the database if needed.
Operation
The program can be started from the command line with the following syntax:
sy013 <project login> -name <object name> -dwgtype <type> [-list] [-onlyfromfiles]
|
<project login> |
The login information for the project, for example: -proj=MAR -user=SYSTEM -pass=<*******> -mdb=/ALL_NO_MDS |
|
<object name> |
The object name. Wild cards can be given: * and/or %. |
|
<type> |
The drawing type: 1 = General drawing 3 = General subpicture 4 = Assembly drawing 6 = Assembly instruction drawing 7 = Pipe sketch 8 = Hull weight & center of gravity drawing 9 = Hull part list drawing 10 = Hull profile sketch 11 = Hull nested profile sketch 12 = Hull plate jigs drawing 13 = Hull pin jigs drawing 14 = Hull bending template drawing 15 = Hull planar part drawing 16 = Hull curved part drawing 17 = Hull nesting sketch 18 = Hull panel line sketch 19 = Hull 3-axis nesting sketch 20 = Hull receipt drawing 23 = Standard subpicture 24 = Component projection subpicture 25 = Volume comment subpicture 26 = Hull panel line individual sketch 27 = Hull mark texts 28 = Assembly ADP drawing |
|
>1000= User defined drawings |
|
|
-list |
gives a list of objects for given drawing type with information whether they exist in the PADD database or not. The drawings will not be updated, that means, there will be no changes to the PADD database. |
|
-onlyfromfiles |
Handle only drawings that does no yet exist in the PADD database. Can be useful when you are migrating a large collection of drawing and some of them fail. If you want to repeat the command, this option will avoid spending time on the already migrated ones. |
TBSSystemFonts
When migrating drawings with SY013 there is an special issue with the legacy TBSystemFonts. These fonts are:
-
TBSystemFont0
-
TBSystemFont1
-
TBSystemFont2
-
TBSystemFont3
-
TBSystemFont4
-
TBSystemFont5
-
TBSystemFont6
-
TBSystemFont7
-
TBISOFont101
-
TBISOFont105
These fonts are not supported for text elements stored in the PADD database. The fonts above will be replaced by the default TrueType font unless the environment variable TB_SYSTEMFONT_MAP is assigned to a text file where each legacy font is mapped to a TrueType font available within the project. Please note that there is a new TrueType font called MarineSystem that looks like the legacy fonts mentioned above. The format of this text file should be as follows:
|
TBISOFont101 |
MarineSystem |