Results 1 to 3 of 3

Thread: opening a new drawing

  1. #1
    Member zfoland20's Avatar
    Join Date
    2003-05
    Location
    Indianapolis, IN
    Posts
    40

    Default opening a new drawing

    Is there a system variable that sets whether the initial drawing when you start AutoCAD closes once you open a different drawing?

  2. #2
    AUGI Addict
    Join Date
    2001-10
    Location
    Arizona
    Posts
    2,337

    Default Re: opening a new drawing

    SETVAR
    SDI

    Type: Integer
    Saved in: Registry
    Initial value: 0

    Controls whether AutoCADruns in single- or multiple-document interface. Helps third-party developers update applications to work smoothly with the AutoCAD multiple-drawing mode.


    0 Turns on multiple-drawing interface.

    1 Turns off multiple-drawing interface.

    2 (Read-only) Multiple-drawing interface is disabled because AutoCADhas loaded an application that does not support multiple drawings. SDI setting 2 is not saved.

    3 (Read-only) Multiple-drawing interface is disabled because the user has set SDI to 1 and AutoCAD has loaded an application that does not support multiple drawings. (SDI was set to 1 before the application was loaded.) SDI setting 3 is not saved.


    If SDI is set to 3, AutoCAD switches it back to 1 when the application that doesn't support multiple drawings is unloaded.
    Be your Best,


    Michael Farrell


    www.primeservicesglobal.com

  3. #3
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,421

    Default Re: opening a new drawing

    Quote Originally Posted by mjfarrell
    SETVAR
    SDI

    Type: Integer
    Saved in: Registry
    Initial value: 0

    Controls whether AutoCADruns in single- or multiple-document interface. Helps third-party developers update applications to work smoothly with the AutoCAD multiple-drawing mode.


    0 Turns on multiple-drawing interface.

    1 Turns off multiple-drawing interface.

    2 (Read-only) Multiple-drawing interface is disabled because AutoCADhas loaded an application that does not support multiple drawings. SDI setting 2 is not saved.

    3 (Read-only) Multiple-drawing interface is disabled because the user has set SDI to 1 and AutoCAD has loaded an application that does not support multiple drawings. (SDI was set to 1 before the application was loaded.) SDI setting 3 is not saved.


    If SDI is set to 3, AutoCAD switches it back to 1 when the application that doesn't support multiple drawings is unloaded.
    Note that if you set this to 1, which will solve your problem, you will not be able to have multiple drawings open in one session of AutoCAD

Similar Threads

  1. I want to create a drawing without opening a drawing.
    By mikeosborne in forum VBA/COM Interop
    Replies: 6
    Last Post: 2009-10-01, 06:12 PM
  2. New Drawing Opening Without DWT Dialog Box
    By omorah in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2008-07-17, 02:22 PM
  3. Replies: 2
    Last Post: 2008-07-09, 12:17 AM
  4. Opening a drawing has changed
    By engineering.28250 in forum AutoCAD Map 3D - General
    Replies: 1
    Last Post: 2006-09-19, 05:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •