Lock the display of a Viewport
One of my biggest pet peeves is an AutoCAD operator that does not lock the display of a viewport in Layout (paperspace). It is very annoying when another user double-clicks the middle of a viewport to make a change in model space but zooms and changes the scale.
To prevent a user from changing the scale of a viewport use the Display Lock option in the Properties of the Viewport:
1. Select the viewport.
2. Open the Properties.
3. Scroll down to find Display Lock (default is NO)
4. Change the NO to YES.
Now, if you were to double-click inside the viewport and zoom, you are still zooming the paperspace, not the model space. This prevents a user from messing-up the scale.
Is some way how to lock viewports by default? So next time I create a viewport it is locked automaticaly?
Posted by: VH | January 16, 2008 at 06:43 PM
This action of using properties menu to lock viewports works but it does not work for irregular shaped viewports. How can this be fixed?
Posted by: Bruce | November 10, 2007 at 11:33 AM
Is there a keyboard command that locks/unlocks the viewport display?
Posted by: Nat Berg | September 05, 2007 at 03:16 PM
Is there a keyboard command that locks/unlocks the viewport?
Posted by: Nat Berg | September 05, 2007 at 03:13 PM
I made 2 buttons that are also available in 2008 and added them to my viewport menu
with the macros
^C^C_-vports _lock _off _p;;
and
^C^C_-vports _lock _on _p;;
it's pretty usefull
Posted by: sam | April 15, 2007 at 11:32 AM
When your viewport zoom extents automatically, set system variable ucsvp to 0 and problem solved.
Kind regards
Posted by: Giboska | November 21, 2006 at 11:21 AM
When i doubleclick a vport the content of that viewport automatically zooms extents. Whats the SETVAR to avoid that?
Posted by: Janneman | November 17, 2006 at 04:31 AM
You can also right click on the viewport, go to "Display Locked" and select "yes" or "no".
Posted by: Donna Stelzer | May 08, 2006 at 12:52 PM
Thanks for the macros. I am sure that those of use who know how to create icons on toolbars or palettes will enjoy them tremendously.
Mike
Posted by: Michael Rotolo | March 05, 2006 at 11:48 AM
I agree that it is annoying when dealing with those who don't lock their VP's and after a while you know who they are. What I have done is create 2 new icons. One for locking the VP's when you're in a hurry, and another to unlock them when you need to change a scale for some reason. You won't believe how much time these icons have saved me. The macros for each function are as follows;
Viewport Lock-
^C^Cmview;lock;on;
Viewport Unlock-
^C^Cmview;lock;off;
I'm assuming everyone knows how to create a toolbar icon.
Good luck!!
Posted by: JohnnyCad | March 02, 2006 at 11:06 AM
Even easier:
select the viewport
press right mouse key
menu opens
select Lock viewport Yes
Tip for the reverse:
when you are in a locked viewport choose 3d orbit, use rightmousekey to pan !
this way you do not have to unlock and relock the viewport.
(be careful not to use the left mousekey or you will start orbitting !)
Posted by: hans geerligs | March 02, 2006 at 06:41 AM