Author Topic: Run a lisp from a script file is it possible  (Read 2664 times)

0 Members and 1 Guest are viewing this topic.

hyposmurf

  • Guest
Run a lisp from a script file is it possible
« 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.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Run a lisp from a script file is it possible
« Reply #1 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)
)
« Last Edit: September 13, 2005, 08:49:31 AM by MP »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

hudster

  • Gator
  • Posts: 2848
Re: Run a lisp from a script file is it possible
« Reply #2 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.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

Andrew H

  • Guest
Re: Run a lisp from a script file is it possible
« Reply #3 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?

Andrew H

  • Guest
Re: Run a lisp from a script file is it possible
« Reply #4 on: March 17, 2006, 10:55:52 AM »
« Last Edit: March 17, 2006, 11:03:01 AM by Andrew H »