ellen finkelstein logo

Ellen Finkelstein.com
AutoCAD PowerPoint About Links
       

Over 165 AutoCAD tips and tutorials!

AutoCAD Tips
AutoCAD Tips Blog

Get a free dynamic block tutorial and free AutoCAD tips!

AutoCAD 2010 course
AutoCAD training video

Buy a Book

E-mail This Page 
to a Friend

Submit a tip! If you include your name and I post your tip, I'll give you credit.

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

More Tips

101 Tips

Page copy protected against web site content infringement by Copyscape

+
Books by Ellen

AutoCAd 2010 Bible

AutoCAD 2010 & AutoCAD LT 2010 Bible
10th Edition!

Learn about the new surfaces, hatch features, and more!

 

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.

                                  Home  |  AutoCAD  |  PowerPoint  | E-StoreAbout  | Links | Contact | Site Map
Copyright Ellen Finkelstein, Inc.