|
|  |
AutoCAD Tips & Tutorials
Changing the MText string to your login name
Since AutoCAD 2004, there's a system variable, MTJIGSTRING, that creates
some sample text when you start the MTEXT command. The idea is to help you gauge
the size of the text before you create it, so you can change the height if
you want. Lambertus Oosterveen sent me this line that you can put in your
acaddoc.lsp or acad.lsp file:
(setvar "mtjigstring" (strcase (getvar "loginname")))
It sets the text to your login name, making it all uppercase. I actually
like having upper and lower case text, so I used the following simpler code:
(setvar "mtjigstring" (getvar "loginname"))
Here's the result:
MTJIGSTRING has a maximum of 10 characters. (It works better when you
have a short name!)
Back to main tips menu for more tips
|
|
|
Books by Ellen
|
New!
AutoCAD 2009 and AutoCAD LT 2009 Bible
This is the 9th edition of this book! Completely updated to conform to the new interface and, of course, it covers all the new features, such as the ribbon, Quick View, ShowMotion, the View Cube, the SteeringWheel, and more. |
AutoCAD 2008 and AutoCAD LT 2008 Bible
Learn the great new features with wide application to all disciplines. Get the most comprehensive book on AutoCAD! DVD contains a 30-day trial of AutoCAD and AutoCAD LT. Thorough exercises guide you through each feature.
|
|
AutoCAD 2007 and AutoCAD LT 2007 Bible
Discover the 2007 features, especially the radically improved 3D tools. CD has AutoCAD 30-day trial, 3rd-party software, and drawings for exercises.
|
AutoCAD 2006 and AutoCAD LT 2006 Bible
Understand and use the 2006 features,
including dynamic blocks and the new method of
customizing menus and toolbars. CD-ROM
has AutoCAD trial, software, and
drawings for all exercises. |
|

AutoCAD 2005 and AutoCAD LT 2005 Bible
Fully explains latest
2005 features: tables,
fields, and sheet sets. For the first
time, covers AutoCAD LT! CD-ROM
comes with software and
drawings for all exercises.
|
|

AutoCAD 2004 Bible
Covers all features
in detail. Hands-on exercises. Over
1300 pages + CD-ROM with software and
drawings for all exercises.
|
|