(defun c:Psetup ()
(DelPageSetup "*")
(SETVAR "CMDECHO" 0)
(COMMAND "PSETUPIN" "CONTROL TEMPLATES.DWT" "*G*,*D*,*%*,EPS*" )
(SETVAR "CMDECHO" 1)
(princ)
)
--
-Jason
Member of the Autodesk Discussion Forum Moderator Program
"Levon-Austin" wrote in message
news:f125f29.5@WebX.maYIadrTaRb...
> Can you show me how to use this function on my existing lisp that I've
provided below. The lisp I have below inserts page setup names from our
template. I just need to purge all first before I insert the page setup
names. Using a wildcard method would be great for purging all. Let me know
if this is possible.
> Thanks,
> Levon
>
> (defun c:Psetup ()
> (SETVAR "CMDECHO" 0)
> (COMMAND "PSETUPIN" "CONTROL TEMPLATES.DWT" "*G*,*D*,*%*,EPS*" )
> (SETVAR "CMDECHO" 1)
> (princ)
> )
>
>