Deleting Files from My Work

You can delete files from My Work folder locally or permanently from the server.

Note: You cannot delete files that are checked-out to My Work folder and files that are open in other applications. If you try to delete those files, the process will be aborted and a message appears displaying the reason for cancellation.

This task shows you how to:

Delete Files Permanently from Server

You can permanently delete files in My Work folder that are linked to a server by changing the registry settings.

  1. To verify that the files are linked to database files, click Display and select Detailed Tree View.
    The files with icons to the right, listed in a tree structure, are linked to a server.

  2. To permanently delete files that are present on a server from My Work folder, registry setting must be changed as follows:
    1. Open the registry editor.
    2. Open HKEY_LOCAL_MACHINE > SOFTWARE > Dassault Systemes > SolidWorksPDM.
    3. On a right-click, click New > DWORD (32-bit) Value.
    4. Enter for the Name: MyWorkDeleteMode.
    5. Double-click MyWorkDeleteMode. and in Value data, enter 0.
    6. Close the registry editor.

    Note: To ensure data integrity and to avoid the risk of accidentally losing files, it is recommended to always use the default setting MyWorkDeleteMode= 2. Deleting data is always a sensitive operation and this option must be implemented by the most experienced users, as there is no undo (once the data is deleted, there is no recovery).

  3. Open the Connector for SOLIDWORKS and select all the files that you want to delete.
    Files are selected which are represented by blue background.
  4. Press Shift + Delete.
    Selected files are deleted permanently.
    Note: When you delete a large number of files or multiple objects from My Work folder, you may find the deletions taking a long time. You can resolve the issue with a registry addition. However, the registry addition may result in some interim dialog boxes not appearing in the user interface.

Delete Files from My Work Folder

You can delete files from My Work folder locally. But, these files are not deleted from the server.

  1. To verify that the files are linked to database files, click Display and clear the Detailed Tree View selection.
    The files with icons to the right, listed in a tree structure, are linked to a server.
  2. To delete files, you can:
    • Clickto delete the corresponding file.
    • You can select one or more files and press Delete.
    • You can select one or more files, click right-click, and select Delete.
    • You can select one or more files and press Shift + Delete.

    Files are deleted.

    Note: The files still exist in the database in their original locations. If needed, you can still re-establish links to them.