How to open 5 drawings in the same session of AutoCAD

Discussion in 'AutoCAD' started by Adesu, Feb 23, 2005.

  1. Adesu

    Adesu Guest

    (setq cnt 0)
    (setq alls '("C:/Auto CAD 2000/Drawing1.DWG"
    "C:/Auto CAD 2000/Drawing2.DWG"
    "C:/Auto CAD 2000/Drawing3.DWG"
    "C:/Auto CAD 2000/Drawing4.DWG"
    "C:/Auto CAD 2000/Drawing5.DWG"))
    (setq n (length alls))
    (repeat n
    (setq file (nth cnt alls))
    (command "_open" file "")
    (setq cnt (1+ cnt))
    )
     
    Adesu, Feb 23, 2005
    #1
  2. Adesu

    Adesu Guest

    Oops,I've got from last thread,here this code and thanks a lot for Jon

     
    Adesu, Feb 23, 2005
    #2
  3. Adesu

    apc Guest

    apc, Feb 24, 2005
    #3
  4. Adesu

    Adesu Guest

    Adesu, Feb 25, 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.