S::STARTUP executes more than once

Discussion in 'AutoCAD' started by chasmb, Nov 17, 2004.

  1. chasmb

    chasmb Guest

    I am using S::STARTUP in acad.lsp (not acaddoc.lsp) to call a vba routine that uses documents.open to open an existing drawing. All of the code in S::STARTUP (and as a result the vba routine) executes over and over. When I delete documents.open from the vba routine, the problem goes away. ACADLSPASDOC is set to 0. Does anyone know why this is happening?
     
    chasmb, Nov 17, 2004
    #1
  2. What release of AutoCAD?
     
    Tony Tanzillo, Nov 17, 2004
    #2
  3. chasmb

    chasmb Guest

    The AutoCAD version is 2005.
     
    chasmb, Nov 17, 2004
    #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.