File locking sounds trivial until you try to do it well. This post walks through how CADVault keeps lock state consistent across every client in your team.
The problem
Network shares don’t protect you. Two engineers open the same part, both make changes, and the last one to save wins. The other’s afternoon evaporates.
How CADVault handles it
Before you change a vaulted file, you lock it from SOLIDWORKS or the Viewer. A document you create in CADVault starts out locked to you. The vault server records the lock with your name and the time, and pushes it to every connected client over a live event stream. Colleagues see in the Viewer and in SOLIDWORKS that the file is locked, and by whom.
The lock also has a footprint on disk. Every managed file is read-only by default, and only the lock holder gets write access. If a colleague opens the part anyway, SOLIDWORKS opens it read-only.
When you are done, you save your work to CADVault and unlock the file. The lock stays until you release it. CADVault never releases a lock on a timer.
When SOLIDWORKS crashes
A crash does not release your lock. The lock lives on the vault server, so your half-finished work stays protected until you are back. If someone forgets a lock and goes on holiday, an administrator can release it from the Document console in the Viewer.