acad.pgp to start a Windows program

Discussion in 'AutoCAD' started by Jim Shipley, Feb 2, 2005.

  1. Jim Shipley

    Jim Shipley Guest

    Is it possible to define a command in acad.pgp to start a Windows app (like
    the Batch Drawing Converter)?

    I can't get this to work:

    BDC, START "C:\Program Files\Autodesk\Migration Tools\DwgCvt.exe", 1,,

    Thanks,
    Jim Shipley
     
    Jim Shipley, Feb 2, 2005
    #1
  2. Jim Shipley

    Murph Guest

    Look up "Start" in the help (acad_dev.chm)
    or
    Define External Commands
    It gives you the key info you need in the pgp file.

    Murph
     
    Murph, Feb 2, 2005
    #2
  3. My suggestion would be to do it with lisp (and put it in your acaddoc.lsp or
    an .mnl or in a toolbar button

    (defun c:bdc ()
    (startapp "c:/Program Files/Autodesk/Migration Tools/DwgCvt.exe")
    )

    Casey
     
    Casey Roberts, Feb 2, 2005
    #3
  4. Jim Shipley

    Jim Shipley Guest

    That's exactly what I ended up doing...

    Thanks!

     
    Jim Shipley, Feb 3, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.