How to Delete a Part File (SolidWorks & Fusion 360)
In this article
Deleting a part file removes it from your computer's storage and, if it's referenced by an assembly or drawing, can break those links. In most CAD programs, you can delete a part file directly from the file explorer (Windows Explorer or Finder) or from within the software's file management panel. The exact steps depend on your CAD program and whether the part is used elsewhere. This guide covers the general process for SolidWorks and Fusion 360, the two most common CAD tools, and explains what to do if the file is referenced by other documents.
What You'll Need
- Access to the computer where the part file is stored.
- Permission to delete files (administrator rights on the computer, or at least write access to the folder).
- If the part is used in an assembly or drawing, you'll need to open that assembly/drawing in the CAD software to remove the reference first (or be prepared to fix broken references later).
Step-by-Step
For SolidWorks (Desktop)
- Check if the part is used elsewhere. Before deleting, open any assemblies or drawings that might reference the part. In SolidWorks, you can use File > Find References (while the part is open) to see which documents use it. If it's referenced, you'll need to either delete the component from those assemblies/drawings first or accept that those files will show errors.
- Close the part file. Make sure the part is not open in any SolidWorks window. If it is, close it.
- Delete via Windows Explorer. Navigate to the folder where the part file (.sldprt) is saved. Right-click the file and select Delete (or press the Delete key on your keyboard). Confirm the deletion if prompted.
- Delete via SolidWorks (alternative). If you prefer to delete from within SolidWorks, open the file, then go to File > Delete (this option appears in some versions). However, this only deletes the file from disk if you confirm the prompt; otherwise, it just removes it from the current session.
- Empty the Recycle Bin (optional). The file goes to the Windows Recycle Bin. To permanently remove it, right-click the Recycle Bin icon on your desktop and select Empty Recycle Bin. This step is irreversible.
For Fusion 360 (Cloud-Based)
- Open the data panel. In Fusion 360, click the Data Panel icon (looks like a folder) on the left side of the screen.
- Locate the part. Navigate to the project and folder where the part file is stored. Fusion 360 stores parts as designs (.f3d) or as individual components within a design.
- Right-click the file. In the data panel, right-click on the part file (or the design that contains the part).
- Select “Delete”. From the context menu, choose Delete. Confirm the deletion when prompted.
- Note about references. If the part is used in another design (e.g., an assembly), Fusion 360 will warn you that the reference will break. You can still delete it, but the referencing design will show a missing component.
Common Mistakes
- Deleting a part that is still open. If the part is open in the CAD software, the file may be locked, and the delete operation might fail or cause errors. Always close the file first.
- Deleting without checking references. Deleting a part used in an assembly will cause the assembly to show errors (missing components). Always check references first.
- Deleting the wrong file. CAD files often have similar names (e.g., “Bracket_v2.sldprt” vs. “Bracket_final.sldprt”). Double-check the file name and location before deleting.
- Emptying the Recycle Bin too soon. If you delete a part by mistake, you can restore it from the Recycle Bin as long as you haven't emptied it. Wait a few days before emptying the bin if you're unsure.
Tips
- Use “Pack and Go” or “Export” to back up first. If you're deleting a part that might be needed later, copy it to a backup folder or use the CAD software's archive feature (e.g., SolidWorks Pack and Go) to save a copy.
- Rename instead of delete. If you're unsure whether a part is needed, rename it to something like “_OLD” instead of deleting. That way, you can still find it if needed.
- Keep a clean folder structure. Regularly review and delete unused part files to keep your project folder manageable.
- In Fusion 360, use “Remove from Project” vs. “Delete”. If you only want to remove a file from the current project but keep it in the cloud, use “Remove from Project”. “Delete” removes it from the cloud entirely.
Troubleshooting
If the file won't delete (file is locked or in use)
- Close all CAD programs. Make sure SolidWorks, Fusion 360, or any other program that might have the file open is closed.
- Check for background processes. Sometimes a CAD program runs background tasks (e.g., indexing, auto-save) that lock the file. Wait a few minutes and try again.
- Restart your computer. If the file is still locked, a restart will release all file locks.
- If it still fails, check file permissions. Right-click the file, select Properties, and ensure your user account has “Full control” under the Security tab. If not, you may need administrator help.
If you deleted a part and now an assembly shows errors
- Open the assembly. In SolidWorks, the assembly will show a red or yellow exclamation mark next to the missing part. In Fusion 360, the component will appear as a grayed-out box.
- Restore the file from the Recycle Bin. If you haven't emptied the bin, you can restore it and the references will reconnect.
- If the file is gone permanently, you'll need to recreate the part or replace it. In SolidWorks, you can use File > Replace to substitute a different part. In Fusion 360, you can upload a new version of the file to the same location.
If the delete option is grayed out in Fusion 360
- Check if the file is “read-only”. In the data panel, look for a lock icon. If present, the file is read-only; you'll need to change its permissions or contact the owner.
- Check if you're in a “Shared” project. If the project is shared with you as a viewer, you won't have delete permissions. Ask the project owner to delete it.
Frequently Asked Questions
Can I delete a part file if it's used in an assembly?
Yes, you can, but the assembly will lose the reference and show an error. It's better to remove the component from the assembly first (in the assembly tree, right-click and select “Delete”) and then delete the file.
Does deleting a part file in SolidWorks also delete it from the assembly?
No, deleting the file from disk doesn't automatically remove the component from the assembly. The assembly will still list the part, but it will be marked as missing.
In Fusion 360, what's the difference between “Delete” and “Remove from Project”?
“Delete” permanently removes the file from the cloud and all versions. “Remove from Project” only removes it from the current project's folder, but the file remains in your Fusion 360 data (you can find it in the “Deleted” folder or by searching).
Can I recover a deleted part file?
If you deleted it via Windows Explorer, check the Recycle Bin. If you deleted it from Fusion 360, check the “Deleted Items” folder in the data panel (available for a limited time). If you used SolidWorks' “File > Delete” option, the file is gone permanently unless you had a backup.
Is it safe to delete part files from the temp folder?
No, do not delete files from CAD temp folders (like SolidWorks' temp directory) unless you know exactly what they are. These are often auto-save or recovery files that can be used to restore unsaved work.
What if I delete a part by mistake and it's not in the Recycle Bin?
If you permanently deleted it (e.g., emptied the bin), you'll need to recover it from a backup (if you have one) or recreate it. Some file recovery tools might help, but they're not guaranteed. Always keep regular backups of your CAD files.