Simtech Posted October 2, 2008 Posted October 2, 2008 All of my drawings open with the insunits set to unitless. I can change them to mm and save the file and when I open it again, it is set again to unitless. does anyone have any idea why this is doing this? It is a real pain to always change my units when I open a drawing. Quote
jaylo23 Posted October 2, 2008 Posted October 2, 2008 Not sure why cad is doing this (maybe it is a lisp routine that runs at startup that is setting your insunits). Does anybody elses computer do this where you are at? But you could just write your own lisp that sets your units to whatever you need on startup. This is assuming that you would always want your insunits to be mm. Quote
Simtech Posted October 2, 2008 Author Posted October 2, 2008 This doesn't happen to anyone else where I am at. I just want to open drawings in the units that they were saved in. I have ACAD 2009 by the way. Quote
jaylo23 Posted October 2, 2008 Posted October 2, 2008 The only other system variables that i know of that pertain to insunits is insunitdefsource and insunitsdeftarget but im pretty sure this is not the cause. there may be another variable that is controlling this that one of the CAD "genius'" know of. But if not like i said maybe it is a lisp routine that is screwing this up for you. Ive had a similar problem (mine had to to with drawing units) and it was a lisp that was put in my startup routine. Sorry i couldnt be of more service but im sure that somebody in this awesome forum will figure it out if you dont. Quote
nocturne00 Posted October 3, 2008 Posted October 3, 2008 Are you opening from a template file? if so, edit the template file first, change the insunits to your desired unit variable then save it. when you start a new drawing with the edited template, your insunits variable will be as you saved the template. Quote
nocturne00 Posted October 3, 2008 Posted October 3, 2008 Not sure why cad is doing this (maybe it is a lisp routine that runs at startup that is setting your insunits). Does anybody elses computer do this where you are at? But you could just write your own lisp that sets your units to whatever you need on startup. This is assuming that you would always want your insunits to be mm. Yes, some lisp routines could mess up your startup. as a check maybe try unload all your lisp routines during startup then restart autocad. Quote
Simtech Posted October 14, 2008 Author Posted October 14, 2008 Are you opening from a template file? if so, edit the template file first, change the insunits to your desired unit variable then save it.when you start a new drawing with the edited template, your insunits variable will be as you saved the template. I am opening existing drawings that already has stuff in them. When I open the drawing, I type in "units" and they are set to unitless. I change it to mm, save and close the drawing and then open it again. The units are again set to unitless. I have to set the units for every drawing that I open. This annoys my coworkers because if they open a drawing that I was working on, the units are set to unitless. Quote
CmdrDuh Posted October 14, 2008 Posted October 14, 2008 What happens if you open, set, save and close? Have a co worker open and see what its set to. If its unitless, I would say that something is setting it when you close the file. As another test, open, set, save, and have a co worker open at that point (even though its going to be read-only) to make sure that the setting is taking effect. Quote
CmdrDuh Posted October 14, 2008 Posted October 14, 2008 Since its not affecting anyone else, the offending routine is probably on your machine. Do you have any extra code the others dont have? Has anyone redefined the close command? Try setting the vars, and close via .close (notice the period) Quote
Simtech Posted October 14, 2008 Author Posted October 14, 2008 What happens if you open, set, save and close? Have a co worker open and see what its set to. If its unitless, I would say that something is setting it when you close the file. As another test, open, set, save, and have a co worker open at that point (even though its going to be read-only) to make sure that the setting is taking effect. The drawings save fine. My coworkers are able to open the drawings and they are set to mm if I remember to set them to mm before I save. If I do not remember, they are unitless and they have to set them when they shouldn't have to. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.