Paperspace Viewport locking, easier way ?
Is there an easier method to lock/unlock a viewport?
Rather than selecting the viewport, then scrolling through the Properties list and changing the LOCKED value to YES/NO. Or going through the MVIEW command process.
Just missing the easier method from the OTHER cad program, where there was a padlock symbol at the bottom of the screen.
Comments
-
There are 4 custom commands by Lee Mac to lock or unlock a viewport or all viewports at:
https://autocadtips1.com/2011/06/21/autolisp-viewport-lock-unlock/
They work in Bricscad.And here's one that works as a toggle, like the padlock icon you're talking about:
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/viewport-toggle-lsp/m-p/4919304#M3210470 -
Awesome! I set this up as a macro on my 16 button mouse, perfect. Thanks Anthony!
0 -
If you unlock viewports often, you might want a command that also changes the color of the viewport, so you can see whether it's locked or not.
There's a pair of commands (not a toggle) by CAB that operate on all viewports, even if you're in a viewport at the time. One command locks them and turns them red, the other unlocks them and turns them green. They're at message 5 at: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/viewport-lock-unlock/td-p/1057260 You can easily change those colors to whatever you want.
And here's a command, by Kevin Petursson, that toggles selected viewports to be locked/bylayer or unlocked/red: https://www.eng-tips.com/viewthread.cfm?qid=142548 Again, it's pretty easy to see how you can change the color to suit yourself.
0