Storing and Organization of Drawings in PADD Database
- Last UpdatedNov 27, 2025
- 1 minute read
Drawings are organized in the Dabacon PADD database by Department (DEPT) and Registry (REGI). See also Creating a Drawing, a Sheet, a View in the Draft User Guide.
For drawings created in Marine Drafting the owning DEPT and REGI are set by customer defined rules, based on the Drawing Type.
The name of the owning DEPT is found by:
-
Through the PADDXP/RESSION attribute, which is a compiled PML expression to be evaluated against the drawing type of the new drawing in order to find the appropriate DEPT element.
Examples of how the PADDXP attribute value could be defined:
-
set PADDXP (marpty eq 1)
-
set PADDXP (marpty eq 1 or marpty eq 4)
-
-
If no appropriate DEPT can be found using the PADDXP attribute, the DEPT name is picked up from the appropriate environment variable in the d065 file (for example, SB_PDB_PADD).
-
The REGI name is always fetched from this environment variable.
-
The syntax of the assigned value is; Department and Register separated by a semicolon (;).
-
Example: SB_PDB_PADD = General;MarDwg
-
-
If neither of these is set, then the built-in DEPT and REGI are used.
-
If the DEPT or REGI elements don't exist, they will be created automatically.
-
There is also a set of environment variables, one for each drawing type, where each variable must be set to itself. Example SP_PDB should be set to SP_PDB.
-
A complete list of the system defined drawing types together with the names of the corresponding environment variables can be found in Drawing Types Appendix.