See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Adding new .scr to Existing Batch Process (ACAD 2014)

  1. #1
    Member
    Join Date
    2002-04
    Location
    North of the 49th
    Posts
    43
    Login to Give a bone
    0

    Default Adding new .scr to Existing Batch Process (ACAD 2014)

    Hoping to get some help :
    I would like to be able to add a new .scr routine to an existing batch process. Both work great on their own but would like to automate everything together.
    These are the 2 routines:

    Existing Batch process:

    FOR %%f in (C:\"users"\"tironej"\"desktop"\"ds text test"\*.dwg) do start /wait C:\"Program Files"\"Autodesk"\"autocad 2014"\acad.exe "%%f" /b "S:\Abba\LISP\Arial_Text.scr"

    Script to be Added: (Called movtxt4.scr)

    zoom
    all
    move
    all

    0,0,0
    0,0,0
    regen
    zoom
    p
    model
    zoom
    all
    move
    all

    0,0,0
    0,0,0
    regen

    tilemode
    0
    regen

    *cancel*

    I've tried adding it a number of different ways but seem to be missing something.
    Thanks, in advance for any help

  2. #2
    Login to Give a bone
    1

    Default Re: Adding new .scr to Existing Batch Process (ACAD 2014)

    Quote Originally Posted by julie_tirone View Post
    Hoping to get some help :
    I would like to be able to add a new .scr routine to an existing batch process. Both work great on their own but would like to automate everything together.
    These are the 2 routines:

    Existing Batch process:

    FOR %%f in (C:\"users"\"tironej"\"desktop"\"ds text test"\*.dwg) do start /wait C:\"Program Files"\"Autodesk"\"autocad 2014"\acad.exe "%%f" /b "S:\Abba\LISP\Arial_Text.scr"

    Script to be Added: (Called movtxt4.scr)

    zoom
    all
    move
    all

    0,0,0
    0,0,0
    regen
    zoom
    p
    model
    zoom
    all
    move
    all

    0,0,0
    0,0,0
    regen

    tilemode
    0
    regen

    *cancel*

    I've tried adding it a number of different ways but seem to be missing something.
    Thanks, in advance for any help
    Hi Juli,

    First time I respond on this forum. Now about the script. I think you have two options , edit your first (Arial_Text.scr) script and place a call to the second (movtxt4.scr) script. JUst add command 'script' and script name, movtxt4.scr.

    Second option , just append your second script to the first. Why use two script files when you can do it with one...

    Gr. Rob

  3. #3
    Member
    Join Date
    2002-04
    Location
    North of the 49th
    Posts
    43
    Login to Give a bone
    0

    Default Re: Adding new .scr to Existing Batch Process (ACAD 2014)

    Thanks so much!
    So simple when you see it written down. Was trying to make it way too hard for myself.
    Very much appreciated

    Julie

  4. #4
    Login to Give a bone
    1

    Default Re: Adding new .scr to Existing Batch Process (ACAD 2014)

    Quote Originally Posted by julie_tirone View Post
    Thanks so much!
    So simple when you see it written down. Was trying to make it way too hard for myself.
    Very much appreciated

    Julie
    Glad to be able to help

    Gr. R.

Similar Threads

  1. Replies: 14
    Last Post: 2019-01-02, 07:41 PM
  2. 2013: batch process for modifying multiple files
    By andres_t in forum AutoCAD General
    Replies: 2
    Last Post: 2012-12-21, 06:00 AM
  3. Batch process
    By idorion in forum Revit - API
    Replies: 1
    Last Post: 2008-07-22, 08:39 PM
  4. Batch process
    By james.cavalucci in forum AutoCAD General
    Replies: 1
    Last Post: 2008-06-05, 09:18 PM
  5. Batch process Export to AutoCAD
    By jsnyder.68308 in forum ACA General
    Replies: 1
    Last Post: 2004-10-28, 11:17 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
  •