PDA

View Full Version : System Variables



andy.manninen
2006-01-10, 01:55 PM
Here are some useful system variables... punch them in on the command line. I know all of them work with AutoCAD 2005, and most if not all work with 2004.

mirrtext -> set to 0 (zero) to make text correct when mirroring linework with text

filedia -> set to 1 (one) if you hit open and you don't get a dialog box. (happened to me a couple times after upgrading to 2005)

peditaccept -> set to 1 (one) to get rid of the confirmation of turning lines and arcs into polylines, mostly with the pedit multiple command.

viewres -> set to fast zooms, and 20000 for circle zoom percent, to stop most arcs from getting the chamfered look when zoomed out. (i haven't had any performance slowdowns, but it is possible)

mbuttonpan -> THE KING! set to 1 (one) to pan when you press the mouse roller (middle button)

dblclkedit -> make sure its set to on if you want to double click a text to edit.

plinegen -> set to 1 (one) to make linetype generation for polylines automatically on. (good for plines with lots of vertices so you have the dashed line you want etc.)

The best for last!

mtjigstring -> set the default text (up to 10 characters) for mtext! see attachment! (good for other peoples computers at the office!)

robert.1.hall72202
2006-01-10, 02:28 PM
Thanks for posting.......often I am trying to recall these variables. I set them once and forget about them. It is nice to have a list now.

JASONM30395
2006-01-10, 02:37 PM
For a complete list of SYSVARS and what they do type SYSVDLG.

murrayc.49304
2006-01-10, 04:19 PM
One of my favourite sysvars is MAXACTVP (MAXimum ACTive ViewPort).

Setting it to the lowest value of 2 will turn "off" (note the word "off" is in quotes for a reason) all the Viewports except for one.

Then, if you use the MView command to turn on any other Viewport, the other viewport being displayed will automatically turn off.

If you need to see more Viewports on at the same time, simply set MAXACTVP to a higher value (eg. a setting of 5 will display 4 viewports simultaneously)

The benefit of using MAXACTVP is that it helps with quick regens for those huge drawings.

If you are in Modelspace, and switching to Paperspace crashes AutoCAD on you everytime (because regening so many Viewports is memory intensive), you can actually set MAXACTVP before you switch to Paperspace to prevent said crash.

And here's the best part...

Even if with MAXACTVP set to a low number, you can still plot the drawing, and the contents of all the Viewports will plot!

kennet.sjoberg
2006-01-10, 07:51 PM
For a complete list of SYSVARS and what they do type SYSVDLG.
Yes but you must have express tool installed.

Here is an other MasterPiece (http://www.smadsen.com/sysvardlg.htm) made by the Lisp king Stig Madsen.

: ) Happy Computing !

kennet

Wanderer
2006-01-11, 06:23 PM
For a complete list of SYSVARS and what they do type SYSVDLG. SWEET... the things we forget...

Chris Matira
2006-01-17, 06:19 AM
thanks for posting... i only know a few system variables and these helps a lot...

Gigliano70
2008-03-11, 09:33 PM
I like the variable MTJIGSTRING - that's a fun one. thanks for posting that one.

SRBalliet
2008-03-12, 11:34 AM
Yes but you must have express tool installed.

Here is an other MasterPiece (http://www.smadsen.com/sysvardlg.htm) made by the Lisp king Stig Madsen.

: ) Happy Computing !

kennet

Broken link, can you repost?

SRBalliet
2008-03-12, 11:37 AM
For a complete list of SYSVARS and what they do type SYSVDLG.

Also available under Express Tools-->Tools-->System Variable Editor

irneb
2008-03-12, 03:29 PM
Yep SYSVDLG = very nice. Also you can use the SaveAll and Read buttons to export & import vars from & to a drawing.

SRBalliet
2008-03-12, 06:05 PM
Yep SYSVDLG = very nice. Also you can use the SaveAll and Read buttons to export & import vars from & to a drawing.

When you have all the System Variables the way you want them, use the SAVEALL and choose to save as a script file. Save it some place handy for when your System Variables get mess up. You can just run the Script file.

(Hint: open the script file with NotePad and delete the System Variables that vary from drawing to drawing and just leave the ones you always want to be there.)

irneb
2008-03-13, 04:54 AM
Save it some place handy for when your System Variables get mess up. You can just run the Script file.Brilliant!