TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: hyposmurf on September 13, 2005, 08:02:50 AM

Title: Run a lisp from a script file is it possible
Post by: hyposmurf on September 13, 2005, 08:02:50 AM
Is there a way to run a lisp and then invoke a command from a script.I have a 100's of drawings where I want to run a lisp to clean them all up and set all objects to a particular color,then insert a similar title block and match the attributes of the blocks,zoom extents,close and save.
Title: Re: Run a lisp from a script file is it possible
Post by: MP on September 13, 2005, 08:08:11 AM
Code: [Select]
;;  script file
(progn
    (princ
        (strcat
            "Indeed, you can run lisp from scripts, in "
            "fact, it's all I put in scripts. Honestly, "
            "it's very powerful and flexible (imo).\n"
        )
    )
    (princ)
)
Title: Re: Run a lisp from a script file is it possible
Post by: hudster on September 13, 2005, 09:07:20 AM
EZscript pro allows you to run both scripts and lisps on selected files, without having to do any additional programming.
Title: Re: Run a lisp from a script file is it possible
Post by: Andrew H on March 17, 2006, 10:51:36 AM
I'm just upgraded my computer and lost Ezscript Pro in the merger. Does anyone know where I can find it?
Title: Re: Run a lisp from a script file is it possible
Post by: Andrew H on March 17, 2006, 10:55:52 AM
Nevermind, I found it.

http://www.angelfire.com/clone/ezscript//downld3.htm