Configuration, data file and cache
The PDM creates three kinds of files. Two of them belong to your drawing collection and travel with it; the third is a pure accelerator that every PC keeps for itself.
| File | Location | Content |
|---|---|---|
| liberodraft_pdm.json | next to the program | The configuration: folders, file types, language, sort order, thumbnail size, filter text, field definitions, name template, archive folder, expanded state of the details pane, monitoring and notification area settings, the consent to the terms of use. Window size and position are stored per computer name in it. |
| liberodraft_pdm_daten.json | next to the program | The data file: the values of all custom fields per file, key = path relative to the monitored folder. |
| pdm_cache.sqlite | %LOCALAPPDATA%\CADTEC\LiberoDraft-PDM\ (per PC, adjustable) | The cache: per file metadata, search text, preview image (512 px), history with images, change log. |
| liberodraft_pdm_fehler.log | next to the program | The error log of unexpected errors — for troubleshooting only. |
Why next to the program
Configuration and data file are located next to the program file. If the program is in a Dropbox or OneDrive folder, all PCs share the same folders, the same fields and the same field values — see Two PCs, one configuration. Before every write the PDM backs up the previous state to liberodraft_pdm.json.bak; if the configuration is ever lost, the settings are not gone.
Do not delete liberodraft_pdm.json to "start over" — folders and field definitions would be lost. Clear the individual value in the settings instead.
Cache
The cache is an SQLite file and contains nothing that could not be recreated from the drawings. It may be deleted at any time; the next scan rebuilds it. Its location is changed on the "Storage and display" tab (default in the local application data folder of the logged-in user). If the cache cannot be created at the configured location, the PDM falls back to the default location and reports this.
The largest item in the cache are the preview images of the history states (20 to 100 KB per state). Self-cleaning and "Clean up now" are on the "Notification area and history" tab; the current size is shown there too: "4.2 MB — 240 files, 38 history states, 512 change log rows".
Rebuilding the cache
"File" › "Rebuild cache" discards all entries and redraws all preview images — practically never necessary because the PDM detects changed files by itself. A rebuild also deletes history and change log.
Language, window, details pane
Language (auto/de/en), window size and position per PC, the width of the details pane per PC and the expanded state of its sections (same for both PCs) are remembered without further action.