There can be several reasons:
1. You don't have administrative rights OR write permission to SOLIDWORKS installation folder
2. Your templates are not set correctly or have messed up (this doesn't seem in your case though).
So check and set correct permission for the installation folder
I have already checked the administrator rights for the SW folder and it has access to everything.
I have a feeling that it is my templates as I have been having issues with the part template over the last couple of days. What fixed my problems was by saving over the original part template with an empty part file that wasn't stuffing up. Do you know how I can reset the the templates? Maybe I should reinstall the software?
Brad Stebbing wrote:
What fixed my problems was by saving over the original part template with an empty part file that wasn't stuffing up.
Create new templates using the same method you've used earlier. Save them in different location rather than SOLIDWORKS default location.
Set the path under Default Templates and File Locations > Templates to new path.
Have you checked your default templates are correct?
you can reset them to look in your current template location be selecting the "Browse" option for each one in turn and select the appropriate template.
You could also try setting them to prompt the user and select the one you want.
Thanks for your response, as I mentioned above to Deepak, I'm pretty sure it is template related as I have changed the Solidworks 2016 folder to have administrator priveledges with no effect. Something that seems odd is that the error message points to a location where the part templates should not be anyway. I checked the current location and manually went in and selected the part, assembly and drawings and I tried ticking the box to prompt me to select the one I want. This happenned when I opened the split part feature, but when trying to save the bodies, the exact same message came up.
Do you know how I can reset the templates? Or should I try reinstalling the program?
You can create new template by the following method;
1. Create a new folder on the root of the C:\ drive (C:\SolidWorks Templates) or you can create the folder in your required location.
2. In SolidWorks "Tools / Options / System options / File locations / Document templates" Note the current settings then remove them all.
3. Add the new file path created on the C:\ drive or required location (currently an empty folder) now close the options dialog and agree to the prompts that come up about changing the settings.
4. Now start a new part, assembly, or drawing this will prompt you for a template standard (some instances it remembers what you had) and new templates are generated.
5. The folder can be moved and remapped in the file locations if required if not already where you want them located.
6. Reset the default templates in "Tools / Options / System options / default templates" by selecting the browse option for each then selecting the required template.
I had the same issue and all i needed to do was open up my template and save it to the newer version of SolidWorks.
Could you give us the complete path and name for this file?
Just to add something to the conversation, this is what I do when I have the problem you experienced ""The above file name is invalid" when trying to "save bodies" into an Assembly..
1 - Same the part you're trying to cut into separate bodies with a different name by using save as copy and open, then save this to a folder
2 - using the brand new named part you have just saved in to that folder, you use the command "save bodies" again and it should work, at least it does for me.