To take it one step farther.
(defun c:DansHelper(/ lay)
(foreach lay (layoutlist)
(putPagesetup lay "A0")
)
(princ)
)
Dan,
Are you taking Stig's Lisp Course?
Just got back on this one and hoping to sort it before I start work tomorrow
.I havent seen Stigs course since cant even find it on the swamp any more. Im going to take a guess at what each layer means.
(defun c:DansHelper(/ lay)
Defines the function (foreach lay (layoutlist)
Attains a list of layouts (putPagesetup lay "A0")
Sets the current layout to A0 )
(princ)
)
Exits the lisp quietlyWhen I run the lisp I get:
Command: DansHelper
; error: no function definition: PUTPAGESETUPSo the last line of code needs to finished,a functioned defined?Is it not possible to add to the macro I already have to set it current that way the whole sequence of events can be set from one button?