How to control the Viewport Locked setting available in AutoCAD


 

  Product: MicroStation  
  Version: 08.05.02.55  
  Environment: N\A  
  Area: DWG  
  Subarea: Open  

Problem

How to control the Viewport Locked setting available in AutoCAD

Solution

In the 2004 Edition of V8:

Create and set the Configuration Variable

MS_DWG_VPORT_MAP_LOCATE_OFF_TO_LOCKED

If set, the Display locked status of a viewport entity is mapped to the Locate setting of the reference attachments that represent this viewport. In this case, a viewport with Display locked off will have Locate turned off - and changing the Locate status of the reference attachment will change the Display Locked status of the viewport.

Starting in the XM Edition of V8:

In the DWG Options, it is controlled in the Reference section with the "Set Viewport Locked From Locate Off" setting.

If on, the Locked status of a Viewport will be set to the Locate Off setting from its reference attachment.

 

See Also

 

  Original Author: Erik Lofgren