This is a utility that is used to "lock" objects in your drawings to prevent them from being altered or otherwise used if and when you have to provide them to someone. It is not unbreakable, but it does prevent casual theft of your work.

It makes anonymous blocks of blocks in your drawing and then makes the placements of those blocks MINSERTS. The result is that it is not possible to explode them or write them out to drawing files where they can be used without a considerable amount of additional time and effort. WAI-LOCK does not act on blocks with names starting with an underscore as these are used for custom arrowhead blocks, or XREFs in a drawing. You have to run WAI-LOCK separately on the drawings being XREFed following these same guidelines. Blocks with attributes are processed so that the attribute values are fixed at the time of locking.

You can repeat the process to re-lock these anonymous blocks making it more difficult for those who wish to steal your work. Don't go overboard on this however.

Having gone through the process of locking these blocks, make sure that you then purge the original blocks from your drawing otherwise all your hard work will have been for nothing.

If you want to lock the whole drawing, you can use WAI-LOCKALL that will convert the whole drawing to an anonymous MINSERT.  Just be aware that  the original BLOCKS are not converted, only the INSERTS locked. This leaves the original BLOCK definition available to be saved, thereby negating the benefits of using such a utility. You should run WAI-LOCK first, then purge the original block definitions out and only then lock the whole drawing with WAI-LOCKALL. This gives you the best of both worlds. It is a case of making things as difficult as you can for others who want to steal your work. You can also use WAI-LOCKEACH to convert each object into its own MINSERTED anonymous block after running WAI-LOCK to further nest the anonymous blocks.


You can add the VLX file to your APPLOAD list, or you can force load it in your ACAD.LSP or ACADDOC.LSP files, or you can add an entry to autoload it in your ACAD.LSP or ACADDOC.LSP file.

Simply enter WAI-LOCK at the Command: prompt, and follow the dialogs and prompts. MAKE SURE YOU READ THE ALERTS AND PROMPTS. You don't get a second chance.

If you inadvertently run WAI-LOCK on your working drawing, close AutoCAD and DO NOT SAVE the changes no matter what else you might have done to the drawing that you want to save. Always work on a copy of the original working drawing.

Before you use WAI-LOCK, make sure you have tested it on a copy of the drawing, and NOT THE ORIGINAL. Only when you are satisfied with the results should you consider using it.

While all care is taken to warn users as to what WAI-LOCK does to a drawing, WAI Engineering cannot be held responsible for changes that are made to a drawing that then renders it unusable.


e-mail: Support