LISP to set all options/preferences???

LISP to set all options/preferences???

Jason.Rugg
Collaborator Collaborator
2,854 Views
4 Replies
Message 1 of 5

LISP to set all options/preferences???

Jason.Rugg
Collaborator
Collaborator

Below is the document that we use to setup ACAD on all of our machines. Is there a way through LISP or another means to setup all of this stuff more automatically?

 

AutoCad Mechanical 2020

 

Rename current <<ACADMPP>> profile to <<OLD>>

Import acadmpp 2020.arg file from R:\cad as profile <<ACADMPP>>

 

Application Options: (command line: options)

1.

Files->Under Support File Search Path->

* -"R: \CAD\Keys\Support\ACADM 2020" (Top)

* -"R: \CAD\Keys\Steel" (Bottom)

2.

Files->Under Text Editor, Dictionary, and Font File Names-> Alternate Font File->

*- Change to romans.shx

3.

Files->Under Printer Support File Path->Printer Configuration Search Path->

*-"R: \CAD\Plot Styles"

4.

Files->Under Printer Support File Path->Plot Style Search Path->

*-"R: \CAD\Plot Styles"

5.

Files->Automatic Save File Location->

*-"C: \AUTOSAVE"

6.

Files->Under Template Settings->Drawing Template File location->

*-"R: \CAD\Templates\2020\ACAD"

7.

Display->Under Window Elements->Uncheck Display scroll Bars in drawing Window

8.

Display->Under Layout Elements->Uncheck

*Display Paper Shadow,

*Display Paper Background & Display Printable area

9.

Display->Under Crosshair Size-> Change 5 to 100

10.

Display->Under Display Resolution->Change Arc and circle smoothness from 100 to 20000

11.

Display->Under Window Elements->Colors->2D Model Space-> Change Color to Black

12.

Display->Under Window Elements->Colors->Sheet/Layout-> Change Color to Black

13.

Display->Under Window Elements->Colors->Plot Preview->Change Color to Black

14.

System->Security->Security Options->Security Level->SLIDER->Off->Load from all locations without displaying a warning

15.

System->Security->Security Options->Automatic Loading->Check->Load acad.lsp when opening each drawing

16.

Plot and Publish->Under plot and publish Log File->Uncheck Automatically save plot and publish log

17.

Plot and Publish->Under Plot Stamp settings->Uncheck Device Name, Check Layout Name and Login Name

18.

Plot and Publish->Under Plot Stamp settings->Under Advanced->Under Location and offset->Location Bottom Right & Orientation Vertical

19.

Plot and Publish->Under Plot Stamp settings->Under Advanced->Under Text Properties->Font RomanS Height .0625 & Check Single Line Plot Stamp

20.

Plot and Publish->Under Plot Stamp settings->Under Advanced->Under Log File Location-> Uncheck Create A Log File

21.

Drafting->Under Auto Track settings->Uncheck Display Polar tracking vector, Display Full-Screen Tracking Vector, and Display Auto Track Tooltip

22.

Drafting->Under Aperature Size-> Adjust Slider to Match the Size of AutoSnap Marker Size

23.

Selection->Under Pickbox Size-> Adjust Slider to match Grip Size

24.

Selection->Under Selection Preview-> Uncheck When No command is Active

25.

Selection->Under Selection Preview-> Under Visual Effect Settings->Under Line Highlighting change to Dash

 

Command Line:

1.

Menuload->Load->"R:\CAD Keys\Menu\KCI Client Print.cuix"->Load

*2.

vtenab1e->2

*3.

Appload->Under Startup Suite->Contents->Add->"R:\CAD\Keys\Quick\qk.lsp"->Close

3.1.

Load qk.lsp one time

*4.

mbuttonpan->0

5.

autosnap->23

6.

osnap->Uncheck Object Snap On and Object Snap Tracking on

7.

-plotstamp>on enter enter

8.

MENUFIX

0 Likes
2,855 Views
4 Replies
Replies (4)
Message 2 of 5

Moshe-A
Mentor
Mentor

@Jason.Rugg hi,

 

you know that you can save an AutoCAD 20XX settings which is actually a zip file contains all the settings you want to transfer to other machines in the office?

 

what you have to do is prepare everything on your machine (all the settings in options and others) and close AutoCAD now go to:

Start\All Programs\Autodesk\AutoCAD 20xxx\Migrate Custom Settings\Export AutoCAD 20XX settings

this (as said) creates a zip file in your Documents folder.

 

below that there is an Import AutoCAD Settings with it you can restore it to any other machine

 

moshe

 

 

 

0 Likes
Message 3 of 5

Jason.Rugg
Collaborator
Collaborator

@Moshe-A The export/import method actually does not capture all settings and we have found that it is not consistent and still have to go back to our document and run down the list and set items that didn't transfer.

0 Likes
Message 4 of 5

scot-65
Advisor
Advisor
There are several settings in your list that are considered "User Settings".
IMO another person's preference will not be the same as mine.
Determine which "system" setting requires adjustment and leave
the "user" settings alone (ones that involve UI display, per say).

For example: My OSMODE = 559 and SDI = 1.
Don't mess with my OSMODE and SDI!

Plot stamp you will have to dig into the registry to set a path
to the PSS file and also turn on.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

Message 5 of 5

scot-65
Advisor
Advisor

As a courtesy I have provide a list of what I think should

be set when a drawing is first opened. Most items here

affect drawing behavior and working environment.

There are a few "user" settings mixed in as well (example

SNAPMODE) which are more related to drawing behavior

than actually being a user setting. Any item not listed here

is more than likely a user setting or does not apply to my

particular drawing environment. This list is thru R2016.


AutoCAD variables to consider:
ACADLSPASDOC
ANGBASE
ANNOMONITOR
ATTDIA
ATTMODE
AUDITCTL
AUNITS
AUTODWFPUBLISH
BACKGROUNDPLOT
BINDTYPE
BLOCKEDITLOCK
CMLJUST
CMLSCALE
CMLSTYLE
COORDS
CONSTRAINTINFER
DEMANDLOAD
DGNFRAME
DIMASSOC
DWFFRAME
EXPLMODE
FIELDDISPLAY
FILEDIA
FILLETRAD
FRAME
HPASSOC
HPCOLOR
HPDRAWORDER
HPGAPTOL
HPLAYER
HPORIGINMODE
HPSEPARATE
IMAGEFRAME
INSUNITS
INSUNITSDEFSOURCE
INSUNITSDEFTARGET
ISAVEBAK
ISAVEPERCENT
LAYEREVALCTL
LAYEREVAL
LAYERNOTIFY
LIMCHECK
LOGFILEMODE
LUNITS
LUPREC
MENUCTL
MIRRTEXT
OFFSETGAPTYPE
OLEFRAME
OLEHIDE
PAPERUPDATE
PDFFRAME
PDMODE
PDSIZE
PICKADD
PICKDRAG
PLINEWID
PLINEGEN
PLINETYPE
PLINEWID
PLOTOFFSET
PLOTROTMODE
PLQUIET
PROXYGRAPHICS
PROXYNOTICE
PROXYSHOW
PSLTSCALE
PSTYLEPOLICY
PUBLISHHATCH
QTEXTMODE
REMEMBERFOLDERS
REPORTERROR
SECURELOAD
SETBYLAYERMODE
SKETCHINC
SKPOLY
SNAPANG
SNAPBASE
SNAPUNIT
THUMBSIZE
UNITMODE
VISRETAIN
VPLAYEROVERRIDESMODE
WHIPARC
WIPEOUTFRAME
WSAUTOSAVE
XCLIPFRAME
XREFTYPE
NAVBARDISPLAY
NAVVCUBEDISPLAY
SNAPMODE

 

SETENV items (text-case sensitive):
AutomaticPlotLog
DefaultFormatForSave
ShowProxyDialog
ShowProxyGraphics
UseMRUConfig

 

See AutoCAD documentation for additional help.

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.