PDA

View Full Version : DIMASSOC is auto OFF on old files?



gumbay50
05-04-2006, 11:52 AM
We've just started to use Lt2006 from Lt 2000. All old drawing files when opened, DIMASSOC is turned off. This will be a real pain if there is not a way to automaticlly turn it on when opening old drawings. I have it set to be on with all new drawing files.
I particularly need an automatic way to change the DIMASSOC to 2 everytime you open an old or any drawing file. I details as I'm not too good in this area of AutoCad.
Help.. Thanks.

CarLB
05-04-2006, 09:48 PM
Are you sure it is set that way in the old files, as opposed to it being set as you open them? Does it appear as turned off even when opened by another person, or with Lt2006?

If drawings had been saved with DIMASSOC off, you can use a little lisp code to turn it on for any opened drawing. Just put the following code in your acad2006doc.lsp:

(setvar "DIMASSOC" 2)

That lisp file is loaded upon opening a drawing. Or you could put that code in a separate lisp file, and add it to your "Startup Suite" (under "tools" "load application")

gumbay50
05-04-2006, 11:13 PM
When I open old files from Lt2000 into Lt2006 the existing dimensions are associated, however, when the file is opened the Dimassoc is set to "0". Any new dimensions will be smashed without changing the Dimassoc to 2. We have people that would not notice the difference until it's a mess to fix. I need an automatic fix that others will not have to be involved with. I believe that in Lt2000 it was Dimaso and therefore Dimassoc is a new varible for th old files.
I didn't think that the Lisp code would work on Lt2006? If I use our full version to run the lisp, I would need to run a batch to run for all our old files. All our people use Lt2006, but we have one seat of full version. Thanks.

CarLB
05-04-2006, 11:35 PM
Yes you're right, LT doesn't use lisps, I missed that.
Only "automatic" way I can think of with LT is to use a command-line switch to run a script. The script file would chamnge the dimassoc setting. But I belive that script runs only upon opening AutoCAD from desktop, not necessarily other types of opening....you might experiment.

You could make a button macro, but people would have to know to click on it first.

So no good answer I know of :(

Exxit
06-04-2006, 07:00 AM
gumbay50,

I don't know this problem and I don't have LT, but maybe this link will help. It's for new drawings, but try it...http://http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=4248606&linkID=2475727

Lothar