Thursday
Autocad, Command, System VariablesLock your user interface with LOCKUI system variable
Greetings to all,
It may sometimes be very annoying when toolbars which you get used to are changed in your office. That is because locking them may seems to be the most efficient method to overcome this problem.
Commad: LOCKUI
When you run LOCKUI command (actually it is a system var), a value between 0 to 15 is being requested. Let us apply locked and unlocked values through these values. All movements are possible for the value ‘0’.
Setting the value as ‘0’ after running Lockui command, all toolbar movements are enabled.
![]()
Figure.1
You can observe the toolbar’s active status from the two vertical lines located on the left. All toolbars’ locations can be changed as you wish.
Command : LOCKUI
If you enter ‘15’ after running the command, all toolbars will be locked for editing and seen like the figure below.
![]()
Figure.2
The two vertical lines are no more exist which means that the toolbar is locked.
I have explained values ‘0’ and ‘15’ among the ‘0-15’ range for toolbars. You can check the remaining ones if you want some different toolbar options. You can also access Help Menu by pressing ‘F1’ after running the command.
Regards.
Editor’s Note:
Toolbars and windows on AutoCAD screen (Properties, design center etc.) can be fixed by means of LOCKUI system variable.
You can use the values listed below for different control modes to be fixed.
- 0 : Toolbars are windows are active.
- 1 : Only toolbars attached on sides are locked.
- 2 : Only windows attached on sides are locked.
- 4 : Only free toolbars are locked.
- 8 : Only free windows are locked.
If you want to lock multiple options listed above, the corresponding values should be added and assigned to the Lockui system variable.
For instance, let us assume we want to lock only free toolbars and windows. The corresponding values to lock these are ‘4’ and ‘8’ respectively. Sum of them is ‘12’ and by assigning it to the Lockui system variable the process is completed.
You do not have to change Lockui system variable again to move locked controls, instead you can move them by holding ‘Ctrl’ button.
Related Articles:
Viewed 2,699 times so far... This week: 27 Today: 6 Latest: 4 July 2009, 22:57Technorati Tags:
Post Tags: Autocad, Command, System Variables
Related Posts
Popular
- Hip tip: Increasing view resolution with VIEWRES system variable
07/03/2009 04:39 am
7 Comments - Sirince – IZMIR
07/02/2009 11:02 am
1 Comment - Visual LISP: Programming user interfaces with OpenDCL
07/01/2009 10:15 pm
10 Comments - 3D Modeling 7: EXTRUDE
06/30/2009 02:14 pm
10 Comments - Ask DailyAutoCAD: Which Notebook to Buy?
06/30/2009 12:17 pm
1 Comment
Featured Articles
- AutoCAD 2009 Update 3 Released
- Speed Up As AutoCAD 2009 Ribbon Menu Helps You!
- MEP Analysis Extension for AutoCAD MEP extended to March 31, 2009
- Recap of AutoCAD-related technologies on Autodesk Labs
- Technology Preview of MEP Analysis Extension extended to 12/31/08
- Autodesk Labs: Forward and Backward utility for AutoCAD
|

Nov 20, 2008
Reply
please tell me how to open lock in auto cadd layout to copy the drawing to model layout