open dwg

Discussion in 'AutoCAD' started by Joe, Feb 10, 2005.

  1. Joe

    Joe Guest

    If you open a drawing through a program, is there a way you can tell if it
    had to be opened readonly?

    More specifically, if you have a script running, opening and closing many
    drawings, and you don't want the script to bomb if the drawing is locked for
    any reason, how could you do it?
     
    Joe, Feb 10, 2005
    #1
  2. Joe

    BillZ Guest

    BillZ, Feb 10, 2005
    #2
  3. Joe

    REscamilla Guest

    Depends on the version of autocad you're running...

    With 2005 it uses a lock file to identify if the file is opened by someone
    else...

    So all you'd have to do is look to see if existing do this or that... as a
    condition statement within your sub-function...
     
    REscamilla, Feb 10, 2005
    #3
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.