Configure PLCD on client
You can modify PLCD settings on client machines.
Guidelines and behaviors
-
To reset the cache, it is safe to delete the whole PLCD directory. Shut down the Dimensions CM clients before resetting the cache.
-
Files that are downloaded into a work area using the fetch (FI), download (DOWNLOAD), and update (UPDATE) commands are copied into the cache.
-
Files that are uploaded to Dimensions CM using the revise item (UI), checkin (RI), edit item (EI), deliver (DELIVER), and upload (UPLOAD) commands are copied to the cache.
-
Changes that you make to the PLCD settings are saved in the plcd.properties file in the following location:
<home>/.dmwebtools
Enable and disable PLCD
By default, PLCD is enabled on a Dimensions CM server and all clients that connect to it, including:
-
Clients that run the dmcli command line, desktop client, and Eclipse and Visual Studio integrations.
-
Agents including any used for library caches.
To disable PLCD:
-
In your client or integration, disable the personal library cache option:
Desktop client - Select Tools > Preferences > Personal Library Cache.
- Clear the Enable Personal Library Cache option.
Eclipse and Visual Studio -
In Dimensions Explorer, right-click the Dimensions CM server connection, and select Properties > Personal Library Cache.
-
Clear the Enable Personal Library Cache option.
-
In the Dimensions CM dm.cfg configuration file on a client, set the variable DM_PLCD_ENABLED to 0.
-
In a client such as dmcli, enter SET PLCD OFF. This disables PLCD for the duration of your session (or until you re-enable PLCD using SET PLCD ON).
Specify cache directory
You can specify where the cache is stored on a local machine.
To specify the cache location:
-
In your client or integration, enter the cache directory path:
Desktop client - Select Tools > Preferences > Personal Library Cache.
- In the Cache Directory Path field, enter the location of the cache directory on your local machine.
Eclipse and Visual Studio -
In Dimensions Explorer, right-click the Dimensions CM server connection, and select Properties > Personal Library Cache.
-
In the Cache Directory Path field, enter the location of the cache directory on your local machine.
-
In the Dimensions CM dm.cfg configuration file, add this variable:
DM_PLCD_DIR C:\dimensions\plcd\
Set maximum cache size
You can specify a maximum cache size in MB for the PLCD directory. When the directory reaches this size, earlier revisions of items are deleted to make more space.
To set a maximum cache size:
-
In your client or integration, specify the cache size:
Desktop client -
Select Tools > Preferences > Personal Library Cache.
-
In the Maximum Cache Size field, enter a cache size.
Eclipse and Visual Studio -
In Dimensions Explorer, right-click the Dimensions CM server connection, and select Properties > Personal Library Cache.
-
In the Maximum Cache Size field, enter a cache size.
-
-
In the Dimensions CM dm.cfg configuration file, add this variable:
DM_PLCD_MAX_SIZE_MB <cache size in MB>
Create additional messages
To create additional messages that confirm the use of the cache, add the following variable to the client configuration file:
DM_PLCD_BOAST 1
Specify file sizes
To specify the maximum and minimum size of files that can be copied to PLCD, add these variables to the client configuration file:
-
DM_PLCD_FILE_MAX_KB <size in MB>
Default: 500 MB
-
DM_PLCD_FILE_MIN_KB <size in MB>
See also: