If the file is being used by SOLIDWORKS, you may need to remove the system locks on it by calling UnLock Method (IModelDoc2) - 2022 - SOLIDWORKS API Help, renaming your file, relocking it.
2 Likes
If the file is being used by SOLIDWORKS, you may need to remove the system locks on it by calling UnLock Method (IModelDoc2) - 2022 - SOLIDWORKS API Help, renaming your file, relocking it.