PDA

View Full Version : Units keep reverting to decimal units, max precision, angles set at h/m/s



Jettero2112
2006-12-08, 04:05 PM
No matter what drawing I open or how I save it I always have to change my units settings on every drawing because they always revert back to decimal units, max precision, angles set at h/m/s. Is there a variable to change this to what I want it to be (architectural, 1/16" precision) all the time. Annoying but not devistating. Any help would be greatly appreciated. Can't find anything in the help or rest of forums. Thanks for the help.

stelthorst
2006-12-08, 04:40 PM
I use ABS so I'm not sure if it's the same in vanilla CAD but in my drawing setup dialog box there is a check box on the lower left corner that says "Save as default" You should be able to change your units the way that you like and click the save as defaults button.

Hope this helps,

Mike.Perry
2006-12-09, 07:37 PM
Hi

Are you using vanilla AutoCAD or a vertical product ie ADT or LDT etc ?

Have a good one, Mike

Jettero2112
2006-12-11, 02:16 PM
Using vanila 2007. Thanks.


Hi

Are you using vanilla AutoCAD or a vertical product ie ADT or LDT etc ?

Have a good one, Mike

johan d
2006-12-11, 02:25 PM
I have the same problem with INSUNITS keep changing to inches.
When setting to millimieters (4) closing and reopening the drawing, they are back to inches.

Opie
2006-12-11, 03:13 PM
It appears some code is automatically run that is adjusting your drawing's settings.

Do you have an ACADDOC.LSP file within your Support Paths or the directory the current drawing is located? You can have AutoCAD help you find the one it is looking at with the below code.


(findfile "ACADDOC.LSP")

Copy and paste the above code to your command line. This will tell you the directory name and location of the above file.

Jettero2112
2006-12-13, 03:35 PM
I get 'NIL' as a response. I did a search and I do not have the file. I found a white paper on the Adesk site about doing: tools> options>open & save> change demand load objectarx apps to 'command invoke'. Still didn't work. Thanks for the help.


It appears some code is automatically run that is adjusting your drawing's settings.

Do you have an ACADDOC.LSP file within your Support Paths or the directory the current drawing is located? You can have AutoCAD help you find the one it is looking at with the below code.


(findfile "ACADDOC.LSP")

Copy and paste the above code to your command line. This will tell you the directory name and location of the above file.

Opie
2006-12-13, 04:02 PM
You may also check in your Startup Suite by using the APPLOAD command. There may be an ACAD.LSP. It could have also been erroneously placed in the ACAD200?.LSP or ACAD200?DOC.LSP. (Replace the ? with the last digit of your AutoCAD version.)

Jettero2112
2006-12-13, 04:16 PM
I found the files acad2007doc.lsp and acad2007.lsp in the support directory. Any idea what I should be looking for in them?


You may also check in your Startup Suite by using the APPLOAD command. There may be an ACAD.LSP. It could have also been erroneously placed in the ACAD200?.LSP or ACAD200?DOC.LSP. (Replace the ? with the last digit of your AutoCAD version.)

Opie
2006-12-13, 04:21 PM
These system variables are the ones that you need to look for. The AutoCAD Help explains the different settings.


LUNITS
LUPREC
AUNITS
AUPREC

The ones starting with L are for linear settings and the ones starting with A are for angular settings.

Jettero2112
2006-12-13, 04:25 PM
Neither file had any of the sysvars listed. Thanks, though.


These system variables are the ones that you need to look for. The AutoCAD Help explains the different settings.



LUNITS
LUPREC
AUNITS
AUPREC
The ones starting with L are for linear settings and the ones starting with A are for angular settings.

Opie
2006-12-13, 04:28 PM
Neither file had any of the sysvars listed. Thanks, though.
Are there any load commands that may load another lisp or vba file which would adjust those settings.

jpaulsen
2006-12-14, 09:04 PM
This probably only applies to the verticals but maybe it's worth a try.

Does the "aecdwgsetup" command work if you type it at the command prompt?

If so, change your units there. This is an issue we deal with with LDT.

If not, it's only available in the verticals.