My Photo

Authorized Autodesk Dealer

  • SolidCAD
    SolidCAD provides Ontario’s leading companies with Solutions; the software, training and technical support necessary to maximize their CAD/CAM investments.

July 2008

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Advertisements



« Disable the Communication Center | Main | Lock the display of a Viewport Part II »

February 24, 2006

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.

Display_lock

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/233415/4332940

Listed below are links to weblogs that reference Lock the display of a Viewport:

Comments

Is some way how to lock viewports by default? So next time I create a viewport it is locked automaticaly?

This action of using properties menu to lock viewports works but it does not work for irregular shaped viewports. How can this be fixed?

Is there a keyboard command that locks/unlocks the viewport display?

Is there a keyboard command that locks/unlocks the viewport?

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

When your viewport zoom extents automatically, set system variable ucsvp to 0 and problem solved.
Kind regards

When i doubleclick a vport the content of that viewport automatically zooms extents. Whats the SETVAR to avoid that?

You can also right click on the viewport, go to "Display Locked" and select "yes" or "no".

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

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!!

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 !)

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Search

  • GlobalSpec

  • Google
Blog powered by TypePad
Member since 12/2004