PDA

View Full Version : Layout Order


step997
28-03-2007, 10:48 AM
I have a drawing with over 100 hundred layouts in it, they are not in numerical order. Is there a way I can get autocad to arrange the layouts in numerical order?

Thanks again for all your help!

Exxit
28-03-2007, 12:56 PM
Hi,

search for the taborder.lsp in the www...

Lothar

architech
28-03-2007, 07:28 PM
saw this on "CADZETTE"....

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

The Lisp routine re-orders your layout tabs alphabetically.

Copy and save into Notepad and save as taborder.lsp.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

;;reorder layouts alphabetically
(defun c:taborder ()
(vl-load-com)
(setq cnt 1)
(foreach lay
(acad_strlsort (layoutlist))
(vla-put-taborder
(vla-item (vla-get-layouts (vla-get-activedocument
(vlax-get-acad-object)))lay)cnt)
(setq cnt (1+ cnt))
);end foreach
(princ)
);end defun
;;;end of code