View Full Version : Scaling
adampatten
2007-08-29, 04:45 AM
All,
I have just started using 2008 recently and have found when I wish to adjust a viewport scale, I have a whole bunch of new scales instead of the nom of 1:1, 1:2, 1:5 and so forth. This happens again when I am about to plot. Most occasions though we use our page setup but when I need to plot just a window, I have trouble.
What I am getting at is there a way to turn off, delete or get-rid-of those excess scales that I do not want?
I appreciate the help.
jpaulsen
2007-08-29, 02:15 PM
Try SCALELISTEDIT.
For some reason I thought that was disabled in 2008 but I just tried it and the command still works.
jpaulsen
2007-08-29, 02:26 PM
I just remembered what changed in 2008. The scale list is saved in the drawing in 2008. In previous versions it was saved in the registry under the users windows profile.
I did a quick test and it appears that when you insert a drawing the scales are also inserted.
jpaulsen
2007-08-29, 02:31 PM
There is a Reset button in the Edit Scale List dialog that restores a default set of scales.
Does anyone know where the default list is stored and how it can be modified?
Tom Beauford
2007-08-29, 07:43 PM
Go to: http://discussion.autodesk.com/thread.jspa?threadID=598934 and look for ScaleListDel.lsp (http://discussion.autodesk.com/servlet/JiveServlet/download/247-598934-5690112-163800/ScaleListDel.lsp) Updated version (0.7) by Steve Johnson. Great tool!
I added "SCALELISTDELALL" to my menu.
Customized it for my needs adding code for my Scale List commands ""SCALELISTCIVIL and "SCALELISTCIVILTEMPLATE".
(defun C:SCALELISTCIVIL ()
(scaledel_smart_reset)
(prompt "\nDeleting existing unused scales...")
(scaledel_wcard "*")
(prompt "\nCreating civil scales...")
(scaledel_create_civil)
(princ)
) ; End C:SCALELISTCIVIL
(defun C:SCALELISTCIVILTEMPLATE ()
(if (= (scaledel_warning) "Yes")
(progn
(scaledel_smart_reset)
(prompt "\nDeleting all existing scales...")
(scaledel_all_unsafe)
(prompt "\nCreating civil scales...")
(scaledel_create_civil)
)
)
(princ)
) ; End C:SCALELISTCIVILTEMPLATE
;;; --------------------------------------------------------------------------
;; *** Note: several uncommon scales have been commented out.
;; Delete the leading semi-colon to make a scale active.
;; You can comment out an unwanted scale by placing a semi-colon at
;; the start of its line.
(defun scaledel_create_civil ()
(scaledel_create_scales
'(
; ("1:1" "1:1")
; ("1:2" "1:2")
; ("1:3" "1:3")
; ("1:4" "1:4")
("1:5" "1:5")
("1:10" "1:10")
("1:20" "1:20")
("1:30" "1:30")
("1:40" "1:40")
("1:50" "1:50")
("1:60" "1:60")
("1:100" "1:100")
("1:200" "1:200")
("1:300" "1:300")
("1:400" "1:400")
("1:500" "1:500")
("1:600" "1:600")
("1:1000" "1:1000")
("1:1/4 mile" "1:1320")
("1:1/2 mile" "1:2640")
("1:mile" "1:5280")
)
)
) ; End scaledel_create_civil
Good Luck,
jpaulsen
2007-08-29, 07:58 PM
I found out the default scale set is stored in a compiled DLL so there's no good way to modify it.
Thanks for the link to the lisp routine Tom. That looks like it will be very handy.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.