See the top rated post in this thread. Click here

Results 1 to 7 of 7

Thread: Record AutoCAD Command Line entries

  1. #1
    100 Club
    Join Date
    2007-05
    Location
    Fort Worth, Texas Cowtown USA
    Posts
    139
    Login to Give a bone
    0

    Default Record AutoCAD Command Line entries

    I know I saw this a while back, but can't seem to find it again.

    I'm looking to automate some of my drawing prep. I've been simply writing down my commands on paper. I've seen a program that will record your AutoCAD command prompt entries in macro/script format (I.E. you enter, Xref - then select all of the listed xrefs - then hit the UNLOAD button; and this program would record ^C^C-xref;unload;*; {or something to that effect})

    Does anyone know of a program like this?

  2. #2
    AUGI Addict Maverick91's Avatar
    Join Date
    2000-12
    Location
    Grand Prairie, Texas, USA
    Posts
    1,324
    Login to Give a bone
    1

    Default Re: Record AutoCAD Command Line entries

    Quote Originally Posted by ahefner
    I know I saw this a while back, but can't seem to find it again.

    I'm looking to automate some of my drawing prep. I've been simply writing down my commands on paper. I've seen a program that will record your AutoCAD command prompt entries in macro/script format (I.E. you enter, Xref - then select all of the listed xrefs - then hit the UNLOAD button; and this program would record ^C^C-xref;unload;*; {or something to that effect})

    Does anyone know of a program like this?
    Hit F2, highlight the text, copy, and paste to your favorite word processor. It that what you're looking for?

  3. #3
    100 Club
    Join Date
    2007-05
    Location
    Fort Worth, Texas Cowtown USA
    Posts
    139
    Login to Give a bone
    0

    Default Re: Record AutoCAD Command Line entries

    Well that's kind of what I've been doing, but I'm up to at least 50 commands in this automation sequence, so if there's a program out there that will already get it into the correct format then that'll save me a lot of time.

    Using the F2 function doesn't really directly translate into macro/script format when I copy and paste, so if there is a program out there that can translate the command prompt without any extra (or at least very little) user input then that would really help.

  4. #4
    Member
    Join Date
    2007-03
    Location
    Someplace
    Posts
    46
    Login to Give a bone
    0

    Default Re: Record AutoCAD Command Line entries

    Quote Originally Posted by ahefner
    Well that's kind of what I've been doing, but I'm up to at least 50 commands in this automation sequence, so if there's a program out there that will already get it into the correct format then that'll save me a lot of time.

    Using the F2 function doesn't really directly translate into macro/script format when I copy and paste, so if there is a program out there that can translate the command prompt without any extra (or at least very little) user input then that would really help.
    Set LOGFILEMODE to 1
    You'll have to find where it is saving log files and/or change the location under Options.

  5. #5
    100 Club
    Join Date
    2007-05
    Location
    Fort Worth, Texas Cowtown USA
    Posts
    139
    Login to Give a bone
    0

    Default Re: Record AutoCAD Command Line entries

    LOGFILEPATH will change it's locaiton

    Thanks a million for the input.

  6. #6
    Member
    Join Date
    2015-11
    Posts
    2
    Login to Give a bone
    0

    Default Re: Record AutoCAD Command Line entries

    I was recently looking for this exact same thing. The logfile is nice, but still requires some tedious work to make it into a script (though not as tedious as creating the script from scratch). I've created a small program however to automate that process. It's not perfect, but it'll do nearly all that work for you. I've attached it here for anyone's use. If you happen to use it please let me know what you think and what I should do to improve it. Also let me know if you come up with a better explanation to put in the help section.
    Attached Files Attached Files
    Last edited by darrel.belvin; 2015-12-08 at 05:14 PM.

  7. #7
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Record AutoCAD Command Line entries

    In recent releases (more recent than those available when this thread was started in 2007), you may also want to look into the macro recorder.

Similar Threads

  1. Intranet to AutoCAD command line??
    By tedg in forum VBA/COM Interop
    Replies: 7
    Last Post: 2008-07-28, 09:55 AM
  2. no command line in Autocad
    By msanders.85217 in forum AutoCAD General
    Replies: 3
    Last Post: 2007-11-26, 04:56 PM
  3. Replies: 6
    Last Post: 2006-11-10, 05:01 PM
  4. Replies: 1
    Last Post: 2006-11-09, 08:50 PM
  5. Replies: 4
    Last Post: 2006-10-23, 05:59 PM

Posting Permissions

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