Sam Lucido's routine addresses a common problem: how to quickly lock or unlock multiple viewports at once in AutoCAD. Start by loading the LISP file, then use the command VPLock to lock or VPUnlock to unlock multiple viewports. If you prefer to not receive the alert dialog at the end, you can comment this out of the code. If you work with multiple layouts, note that these functions only lock or unlock multiple viewports on the current layout; you will have to repeat the command in each layout. |