...
Could you provide the header attribution you'd like to be saved with this code?
...
No attribution for me personally please; I use a screen name (not my real name) because I don't deserve or want any. However I can recommend one for you to use.
How would something like below work?
;;;
;;; PLOT command reactor
;;;
;;; Reacts to the PLOT command
;;;
;;; This program will react to the plot command and
;;; fetch the pagesetups from a template drawing.
;;;
;;; Ex: N/A
;;;
;;; By: Se7en
;;; 03.16.11
;;;
;;; Please consider donating to theSwamp.org
;;;
Your method Se7en made me think of this, which may also be an option
Lee, Why would my procedure remind you of yours? My routine doesn't have a dialog box and it only allows pagesetups to be copied. Your routine reminds me of one of Dave Stein's routines though...sorta...in a off-shot-backwards kind of way (It is most likely the name you choose for the procedure more than anything). His routine would scan a drawing for something (you would use it via code though) it was a general purpose scan-for-this-block-or-dimstyle-thing written back in 01 or 02 (I don't remember when exactly, but it was about the time I got started with programing). I beat his `scan' routine up and down left and right and it morphed into my own general purpose routine(s). I only got a few "good job!"'s from that "giant" and some of that DBX stuff I did--based on his stuff of course--was one of them. At any rate, I'm getting off topic. My `copy_page-setup' procedure could be converted to a generic (read: crude) "dbx-copy-object" with only minor updates.
***
Oh! I'm not sure but I think I understand what you meant now (because your statement doesnt/didnt make a lot of sense to me right away). My use of DBX reminded you of an alternate method (using a procedure you wrote which uses DBX) for getting the pagesetups into the drawing (I'm sorry, if I misunderstood your point; I am not trying to dismiss it). But your alternate method doesn't use reactors (OPs request) and doesnt happen automatically (Unwritten OP request). What would be the difference between using your procedure and the regular "PSETUPIN" command?
RenderMan,
I have no idea. Try deleting the Views before the pagesetups?