How to add to ACADDOC2016.lsp

How to add to ACADDOC2016.lsp

Anonymous
Not applicable
928 Views
5 Replies
Message 1 of 6

How to add to ACADDOC2016.lsp

Anonymous
Not applicable

I'm not experienced with lisp programing.

 

I would like to add a line in the ACADDOC2016.lsp file that will turn off  LINESMOOTHING  each time

Autocad 2016 starts a new drawing.

 

Wuld someone be able to send me the correct line(s) that I could add to the exisitng file ?

 

Thanks in advance !

Ron

0 Likes
Accepted solutions (2)
929 Views
5 Replies
Replies (5)
Message 2 of 6

Shneuph
Collaborator
Collaborator
Accepted solution

This thread might help you...

http://forums.autodesk.com/t5/autocad-2013-2014-2015-2016/line-smoothing/td-p/4983254

 

If you do end up using the line mentioned:

(setvar "linesmoothing" 0)

...it should go into an "acaddoc.lsp" file not the "acaddoc2016.lsp" file.  In general "acad[year].lsp" and "acaddoc[year].lsp" should not be edited.  You can create an acad.lsp or acaddoc.lsp in notepad or any other ascii editor and add it to a support path that CAD sees.  It will behave in the same manner.

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
0 Likes
Message 3 of 6

rkmcswain
Mentor
Mentor
Accepted solution
Yes, what @Shneuph said....

Create (or append) your own "acaddoc.lsp", don't edit the built in file(s) because they can be overwritten during a reinstall, repair, or service pack update.


R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 4 of 6

Anonymous
Not applicable

Thanks to all

Worked great !

 

Not sure why my 2015 & 2016 would not save to the registry like it is suppose to.

I have full admin rights.

 

Ron

0 Likes
Message 5 of 6

Shneuph
Collaborator
Collaborator

I am still running 2014 so I can't check.  But perhaps the error is in the help file and the LINESMOOTHING variable just isn't actually saved in the registry?  Can someone do a registry search and verify that the key exists?  I'm guessing that it would be somewhere in a similar location to:

 

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6006:409\Profiles\AutoCAD\...

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
0 Likes
Message 6 of 6

TomBeauford
Advisor
Advisor

Quick search in regedit for "linesmoothing" Civil 3D 2015 on Windows 7

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R20.0\​ACAD-E000:409\3DGS Configuration\Certification\Effects

 

I would assume it's still there in 2016 as well.

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes