TheSwamp
CAD Forums => CAD General => Topic started by: MSTG007 on June 09, 2017, 02:14:37 PM
-
I stumbled onto this site. What are your thoughts on this article? Do you think they make a difference by changing some of these variables?
http://www.thesourcecad.com/improve-autocad-performance/ (http://www.thesourcecad.com/improve-autocad-performance/)
-
Not all of these have a dramatic effect but it absolutely helps to set the variables carefully.
In my startup lisp I set a lot of variables to the best setting.
-
Could I ask what other variables that you do change?
-
Some of them appear to be irrelevant, at least for the last version or two. It's important to re-evaluate every so often rather than just carrying things forward.
-
From Article
LAYOUTREGENCTL
Changing this variable can improve the performance of AutoCAD by modifying the way drawing view is regenerated on changing tabs. The default value of LAYOUTREGENCTL system variable is 2 but you can change it to 0 or 1 as well to improve its performance.
0 – The drawing is regenerated each time you switch tabs. (Maximum Performance)
1 – For the Model tab and the last layout made current, the display list is saved to memory and regenerations are suppressed when you switch between the two tabs. For all other layouts, regenerations still occur when you switch to those tabs.
2 – The drawing is regenerated the first time you switch to each tab. For the remainder of the drawing session, the display list is saved to memory and regenerations are suppressed when you switch to those tabs.
Is that correct 0 for max performance?
-
Could I ask what other variables that you do change?
You can. But my settings are not your settings :-)
I always set INSUNITS, INSUNITSDEFSOURCE and INSUNITSDEFTARGET to meters. For selection settings like the gripsize and aperture size I use my favorite size. I don't like the default small aperture. Also for selecting objects I set the RIBBONSELECTMODE en PICKFIRST to 1. The popup in the Command Line showing the available commands pops up to soon, so I set the INPUTSEARCHDELAY to 2000 or higher. Also I turn the COMMANDPREVIEW and PROPERTYPREVIEW off.
And so there are a few hundred variables I set automatically. But these are the best settings for me only.
-
From Article
[..]
Is that correct 0 for max performance?
For me 2 is the best value.
-
Nice... Thank you for sharing!
-
From Article
LAYOUTREGENCTL
Changing this variable can improve the performance of AutoCAD by modifying the way drawing view is regenerated on changing tabs. The default value of LAYOUTREGENCTL system variable is 2 but you can change it to 0 or 1 as well to improve its performance.
0 – The drawing is regenerated each time you switch tabs. (Maximum Performance)
1 – For the Model tab and the last layout made current, the display list is saved to memory and regenerations are suppressed when you switch between the two tabs. For all other layouts, regenerations still occur when you switch to those tabs.
2 – The drawing is regenerated the first time you switch to each tab. For the remainder of the drawing session, the display list is saved to memory and regenerations are suppressed when you switch to those tabs.
Is that correct 0 for max performance?
I think way back when computers did not have much RAM, 0 was a good setting. I used to have some projects with many tabs ( 30 - 50 ) and the computer would run out of memory ( when set to 2 ) before it could cycle through all of them when plotting.
-
Nice... Thank you for sharing!
One variable I like to set is (setenv "ShowFullPathInTitle" "1") .. not for performance, but being able to see the full path of the file at the top of the AutoCAD window.
-
And here's a list of variables I set ... please review them before using them as I've not looked at this in about 8 years. Half of them probably don't apply anymore LOL.
(defun _setvars
(/ ds lst
) (setq lst '
(("ShowFullPathInTitle" .
"1") (acadlspasdoc . 1)
(angdir . 0)
(apbox . 1)
(aperture . 8)
(attdia . 1)
(attmode . 1)
(auditctl . 0)
(aunits . 0)
(backgroundplot . 0)
(bindtype . 1)
(blipmode . 0)
(cecolor . "bylayer")
(celtscale . 1)
(celtype . "bylayer")
(cmddia . 1)
(coords . 2)
(cursorsize . 100)
(dblclkedit . 1)
(delobj . 1)
(demandload . 2)
(dimassoc . 2)
(dragmode . 2)
(dragp1 . 10)
(dragp2 . 10)
(draworderctl . 3)
(dwgcheck . 2)
(dynpicoords . 1)
(edgemode . 1)
(elevation . 0)
(entexts . 0)
(expert . 1)
(explmode . 1)
(facetratio . 1)
(facetres . 10)
(fielddisplay . 1)
(fieldeval . 31)
(filedia . 1)
(filletrad . 0)
(fillmode . 1)
(fontalt . "romans.shx")
(gripblock . 0)
(gripobjlimit . 30000)
(grips . 1)
(groupdisplaymode . 0)
(hideprecision . 0)
(highlight . 1)
(hpassoc . 1)
(hpbound . 1)
(hpdraworder . 3)
(hpgaptol . 1)
(hpname . "solid")
(hpscale . ds)
(hpseparate . 1)
(imagehlt . 0)
(indexctl . 0)
(insunits . 0)
(isavebak . 0)
(isavepercent . 0)
(isolines . 25)
(layereval . 0)
(layerfilteralert . 1)
(layoutregenctl . 2)
(logfilemode . 0)
(luprec . 6)
(lwdisplay . 0)
(maxsort . 32767)
(mbuttonpan . 1)
(menubar . 1)
(mirrtext . 0)
(mleaderscale . ds)
(mtextfixed . 2)
(oleframe . 2)
(olehide . 0)
(olequality . 3)
(olestartup . 1)
(openpartial . 0)
(osnaphatch . 0)
(osnapz . 1)
(paperupdate . 1)
(peditaccept . 1)
(pellipse . 0)
(pickadd . 1)
(pickauto . 5)
(pickdrag . 2)
(pickfirst . 1)
(pickstyle . 1)
(plinegen . 1)
(plinetype . 2)
(plotoffset . 1)
(previeweffect . 0)
(previewfilter . 63)
(proxynotice . 0)
(proxyshow . 0)
(proxywebsearch . 0)
(pstylemode . 1)
(pstylepolicy . 1)
(publishallsheets . 1)
(rasterpreview . 1)
(recoverymode . 0)
(regenmode . 1)
(rememberfolders . 1)
(reporterror . 0)
(rollovertips . 0)
(rtdisplay . 1)
(savefidelity . 0)
(savetime . 8)
(secureload . 0)
(selectionarea . 1)
(showlayerusage . 0)
(sigwarn . 0)
(sortents . 51)
(sslocate . 1)
(ssmautoopen . 1)
(ssmstate . 0)
(standardsviolation . 0)
(startup . 3)
(textfill . 1)
(textqlty . 100)
(textsize . (* ds 0.1))
(textstyle . "romans")
(thickness . 0)
(thumbsize . 8)
(ucsdetect . 0)
(ucsfollow . 0)
(vtduration . 250)
(vtenable . 0)
(whiparc . 0)
(whipthread . 1)
(xfadectl . 75)
(xloadctl . 2)
(xreftype . 1)
(zoomfactor . 100)
)
)
)
-
I gotta ask.... How many of you still use the menubar? or know what a menubar is.
-
I gotta ask.... How many of you still use the menubar? or know what a menubar is.
I only have it for some tools that don't have a place on the ribbon ... I'm still using an MNS file to automagically convert to CUI.
-
I still include the conventional "File" "Edit" "Window" "Help" menus. There's a few things which are convenient there, and users are expecting.
-
I set a lot of vars. I also keep a record of the ones that come as a horrible surprise w/ new acad versions so I can remember how to turn them off.
//ANNOMONITOR and set this variable to -1. to stop yellow alerts next to dims
//COMMANDPREVIEW=0 toggles command preview
//CURSORBADGE=1
//Cullingobj=0 Use 1 to select hidden faces 3d
//DIMTXTRULER=0 TURNS OFF the MtextRULER
//fielddisplay=o No graybackground on fields
//("filetabclose", 0); turns off dwgs/file tab at top
//Hpinherit=1 uses origin from hatch object
//Isaveback-creates a Bak file
//lasso options->selection->Allow press and Drag for lasso
//("LAYLOCKFADECTL",15); //fade for locked layers
//Mirrhatch=1 allows mirroring of hatch
//NEXTFIBERWORLD =0 FOR DEBUGGING
//("QPMODE", 0); turns off quick properties
//Rememberfolders=1 DEFAULT PATH FOR DIALOGUE BOXES IS LAST PATH
//("SUBOBJSELECTIONMODE ",0) to turn off selection dialogue box
//SELECTIONEFFECT and PRESELECTIONEFFECT both to 0 sets the selected objects to appear as dashed
//Solidhist=1 saves history
//Sysmon=0 System variables are not monitored.
//startmode =0 turns off the start tab
//SURFEXTRACTCURVE use to get isolines
//xedit=0 Prevents in-place reference editing
//XREFOVERRIDE to 1 and xref objects will take on Bylayer behavior
// HALF MOON NEXT TO CURSOR
// when geometry is copied and selected to be moved, if you hold down shift the icon appears.
//This is an indicator that the geometry can only be moved orthogonal to its present location.
//if the icon is frustrating you: select some geometry, copy it and when you move it hold down the shift key.
//Move the geometry and then delete it and the "Bug" should go away.
//SELECTIONCYCLING
// 2 OVERELAPPING RECTANGLES NEXT TO CURSOR SET TO 0 OR -2 TO TURN OFF
//FILETABPREVIEW : setting it to 0 prevents showing the 'thumbnails' when passing over the file tabs..
// FILETABTHUMBHOVER: controls what happens next, when you hover one of the thumbnails..
////SELECTIONEFFECT =0 for dashed lines when selecting
-
in ARX, and .NET there's a AcEdSysVarIterator class where you can have access to all the system variables.
might be cool you write them out to a file to have a record of your settings