We use paperspace for a lot of our sheet information. Whether its for Title block information, sheet numbers, keynote legends, plan titles or even general note information. And sometimes we'll have 1 to 20 layout tabs all contained inside this one drawing. So managing this information when revisions are made can be a pain. How much time alone has it taken you to cycle through 20+ layout tabs? It takes me a good amount of time. Each time you change layouts your viewports need to regenerate and depending on how much geometry or viewports this can get slow. There are some system variables you can use to help and we'll cover that in another post later.
So what do you do when you forgot to add a date field to you're title block information? Or forget to add the "NOT FOR CONSTRUCTION" note to you're drawings? Well you could create you're field and start opening each layout tab. Or you could use this simple code called COPY2LAYOUTS. COPY2LAYOUTS will actually prompt you to select any amount of objects from the current layout tab, build a selection set then apply those objects to each layout tab in your drawing. Using the same base point that objects from the first layout tab used. So you can get a bunch of information applied to all layout tabs with ease.
Click here to download the Lisp file Download copy2layouts.lsp
(defun c:copy2layouts (/ objects x layouts)
(setq objects (ssget))
(setq layouts (getvar "ctab"))
(command "_copybase" "0,0" objects "")
(command "erase" "p" "")
(foreach x (layoutlist)
(setvar "ctab" x)
(command "_pasteblock" "0,0")
(command "explode" "l" "")
(setvar "ctab" layouts)