Opening a Dwg as Read Only via SCR file?

Discussion in 'AutoCAD' started by Mr. B, Mar 23, 2005.

  1. Mr. B

    Mr. B Guest

    I've a VB.net application that I've written (a long time ago) that creates
    custom Plot SCR script files. I've been adding to it and modifying it as time
    goes on.

    One thing I've been asked to add to it, but I can't figure out how to, is to
    have the Script file open a Drawing as Read Only.

    In other words, if Person "A" is working on drawing X-1, and Person "B" runs a
    Plot Script file of drawing X-1, then the script file stops and prompts the
    user if they want to open this drawing as Read Only.

    So I want to have ALL drawings opened up as Read Only to avoid this Message.

    Can this be done? If so... how?

    Thanks in advance.

    Bruce F
     
    Mr. B, Mar 23, 2005
    #1
  2. Mr. B

    Tim Arheit Guest

    You could create a lsp or vba script that will open a file readonly
    then call that from you scr.

    -Tim
     
    Tim Arheit, Mar 23, 2005
    #2
  3. Mr. B

    Mr. B Guest

    I could... but IF possible (and I doubt it is), I'd like to keep this in the
    SCR file.

    Regards,

    Bruce F
     
    Mr. B, Mar 23, 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.