Results 1 to 4 of 4

Thread: Scripting from AutoCAD?

  1. #1
    Active Member
    Join Date
    2009-01
    Posts
    57
    Login to Give a bone
    0

    Default Scripting from AutoCAD?

    I've been using the search function looking for more info on scripting with ACAD/MEP. Years ago it came with ScriptPro, and now there's not much. I've downloaded a bunch of peoples' work here trying to get something that will execute on a number of drawings (700+ for the first batch) and none of them seem to work anymore. Has anyone had good luck with anything out there to execute a .LSP or whatever on a batch of drawings with anything using 2012 or newer?

    I'm currently modifying the ACADDOC.LSP to perform the steps I need, but A: it crashes if I script a drawing to close, B: If I don't, it doesn't take long to run out of memory since I have to open EVERY drawing like this. I'm not a VB programmer, so I don't even know where to start. LISP at least I can hack thru, but I know this is something that every company struggles with for background scrubbing. I really don't want to recreate the wheel here, I know someone has a great tool out there!

  2. #2
    I could stop if I wanted to
    Join Date
    2015-10
    Location
    Colorado Springs, CO
    Posts
    369
    Login to Give a bone
    0

    Default Re: Scripting from AutoCAD?

    I don't use scripting... but you could try http://apps.exchange.autodesk.com/AC...editorv10%3aen

  3. #3
    Active Member
    Join Date
    2009-01
    Posts
    57
    Login to Give a bone
    0

    Default Re: Scripting from AutoCAD?

    Thanks, I'll give it a shot!

  4. #4
    Member
    Join Date
    2012-11
    Posts
    6
    Login to Give a bone
    0

    Default Re: Scripting from AutoCAD?

    have you tried a dos batch command to execute a scr file that will run the lisp. the process is a little slow because it opens and closes the program for each drawing , but it works and i have been using it for years.

    see au classes - changing hundreds of drawings by Dan Abbott

Similar Threads

  1. AC316-5: Unlimited AutoCAD® Scripting for Everyone
    By Autodesk University in forum AutoCAD
    Replies: 0
    Last Post: 2015-08-07, 04:00 PM
  2. 2013: Scripting (*.scr) ? - ASAP Please
    By Rod-APL in forum AutoCAD LT - General
    Replies: 2
    Last Post: 2013-11-06, 05:24 PM
  3. Windows Scripting through lisp
    By Opie in forum AutoLISP
    Replies: 11
    Last Post: 2011-12-20, 03:31 PM
  4. Revit scripting
    By clog boy in forum Revit Architecture - General
    Replies: 11
    Last Post: 2007-11-30, 04:01 PM
  5. Learning 3ds scripting
    By panchalashi in forum 3ds Max - General
    Replies: 2
    Last Post: 2006-07-03, 04:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •