Author Topic: Dimscale keeps reseting  (Read 4382 times)

0 Members and 1 Guest are viewing this topic.

adrian

  • Guest
Dimscale keeps reseting
« on: October 20, 2004, 07:59:17 PM »
I have a drawing that does not keep my dimscale setting.  It always defaults back to 1:96 when ever I open the drawing.
Every time I open the drawing it goes back to 1:96 even though it was saved to 1:10. I am running R2005 with a StucPlus add on.
Can anyone help.
Thanks  :)

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Dimscale keeps reseting
« Reply #1 on: October 20, 2004, 10:03:20 PM »
I don't know for sure but there could be a custom object with a reactor that does that ... since you ARE using an addon....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

adrian

  • Guest
Dimscale keeps reseting
« Reply #2 on: October 20, 2004, 10:07:09 PM »
Why would it do it to only 1 drawing? If so, is there any way I can find out?
Thanks for your reply.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Dimscale keeps reseting
« Reply #3 on: October 20, 2004, 10:10:39 PM »
Have you tried opening it in another installation of AutoCAD ? on another computer?
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

ronjonp

  • Needs a day job
  • Posts: 7529
Dimscale keeps reseting
« Reply #4 on: October 21, 2004, 02:13:09 PM »
I've had the same problem with this drawing. I openend it in 2004 and 2005 and the dimscale was set to 96 after I had changed it.

I found this in the drawing (not sure exactly how it works but it looks fishy):


Code: [Select]
AEC_VARS_DWG_SETUP
  2
AecDbVarsDwgSetup
  3
AecBase40|Product Desc: Autodesk Architectural Desktop 2005 |Company: Autodesk,Inc. |WEB Address: www.autodesk.com


Here is the drawing:
http://theswamp.org/lilly_pond/ronjonp/Xkeymap.zip?nossi=1



I used keith's endit lisp and it fixed it. BTW Keith, that routine kicks ace.


Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Dimscale keeps reseting
« Reply #5 on: October 21, 2004, 02:22:38 PM »
Thanks Ron ....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

dubb

  • Swamp Rat
  • Posts: 1105
Dimscale keeps reseting
« Reply #6 on: October 21, 2004, 04:01:13 PM »
ive had a similar problem....there was this block called acad_zz or something like that....after i got rid of it...it the scale never changed...also the other symptons that the block has is....whenever autosave saved the scale would change to 1/96. thats what i know from my experience

adrian

  • Guest
Dimscale keeps reseting
« Reply #7 on: October 21, 2004, 05:49:57 PM »
Keith, I did try it on another machine and it saved the dimstyle fine.  So it must be the add on.  What does the lisp file ronjonp was mentioning do? Is there any chance I could get the code to try on this drawing?

Thanks

ronjonp

  • Needs a day job
  • Posts: 7529
Dimscale keeps reseting
« Reply #8 on: October 21, 2004, 06:26:25 PM »
Here is the code:

Code: [Select]
(defun C:ENDIT (/ expert cmdecho)

 (setq expert (getvar "EXPERT")
cmdecho (getvar "CMDECHO")
  )
  (setvar "EXPERT" 5)
  (setvar "CMDECHO" 0)
  (command "-wblock"
  (strcat (getvar "dwgprefix") (getvar "dwgname"))
  "*"
  )
  (setvar "EXPERT" expert)
  (setvar "CMDECHO" cmdecho)
)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Dimscale keeps reseting
« Reply #9 on: October 21, 2004, 08:37:11 PM »
It essentially cleans out any junk not needed in the drawing....sortof like a purge but it also resets handles to start back to zero.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

adrian

  • Guest
Dimscale keeps reseting
« Reply #10 on: October 21, 2004, 08:44:10 PM »
Thanks guys. I tried it, but it didnt fix the problem.  I even inserted the drawing & exploded it and that didnt work.  I have ended up overlaying the drawing as an xref, then binding as an insert, then exploding it.  It keeps the setting after I do all that.  So somewhere along that long winded path, it loses the 96.  
Still it would be nice to know what the problem was, or where the setting was taking effect.
Thanks for your help.  :)

ronjonp

  • Needs a day job
  • Posts: 7529
Dimscale keeps reseting
« Reply #11 on: October 22, 2004, 10:44:21 AM »
Quote
Thanks guys. I tried it, but it didnt fix the problem.


After you run the lisp close the drawing without saving changes and reopen it. Then it should work. Also make sure you don't have another drawing xrefed in that has the same problem.

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

whdjr

  • Guest
Dimscale keeps reseting
« Reply #12 on: October 22, 2004, 11:29:02 AM »
Adrian,

Can you post your drawing?

adrian

  • Guest
Dimscale keeps reseting
« Reply #13 on: October 24, 2004, 06:55:17 PM »
Ronjonp, I ran the lisp file like you said and it worked.  Thanks alot.
You are a champion!  :D