+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 26 of 26
  1. #21
    Junior Member
    Using
    AutoCAD 2010
    Join Date
    Dec 2010
    Location
    Vegas
    Posts
    10

    Default

    Registered forum members do not see this ad.

    i was getting annoyed with the save message every time i opened or created a new drawing. the code in the original post was perfect and got it setup with the variables i use. next step is to get it on the rest of the computers so the message is gone everywhere.

  2. #22
    Full Member
    Computer Details
    S-8-N's Computer Details
    Operating System:
    Windows 7
    Discipline
    See details...
    S-8-N's Discipline Details
    Occupation
    CAD Drafter 1
    Discipline
    See details below.
    Details
    Audio / Video Wiring Diagrams and Equipment location details
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    Scappoose Oregon
    Posts
    28

    Default

    This might not be part of this problem or a solution to the problem (I am still a rookie) but doesn't the EXPERT seting get rid of these simple questions? Just asking/saying might be the easiest way.

  3. #23
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,202

    Default

    Quote Originally Posted by S-8-N View Post
    This might not be part of this problem or a solution to the problem (I am still a rookie) but doesn't the EXPERT seting get rid of these simple questions? Just asking/saying might be the easiest way.
    Expert does not take care of "Save changes to drawingN.dwg".


    Controls whether certain prompts are issued.
    0 Issues all prompts normally.
    1 Suppresses "About to regen, proceed?" and "Really want to turn the current layer off?" (-LAYER)
    2 Suppresses the preceding prompts and "Block already defined. Redefine it?" (-BLOCK) and "A drawing with this name already exists. Overwrite it?" (SAVE or WBLOCK)
    3 Suppresses the preceding prompts and those issued by the LINETYPE Command prompt (-LINETYPE) if you try to load a linetype that's already loaded or create a new linetype in a file that already defines that linetype.
    4 Suppresses the preceding prompts and those issued by UCS Save and VPORTS Save if the name you supply already exists.
    5 Suppresses the prompt, "That name is already in Use, redefine it?" issued by the -DIMSTYLE Save option when you supply the name of an existing dimension style.
    Suppresses the same prompt issued by the -SCALELISTEDIT Add option.
    When a prompt is suppressed by EXPERT, the operation in question is performed as though you entered y at the prompt. Setting EXPERT can affect scripts, menu macros, AutoLISP, and the command functions.
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  4. #24
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    Jun 2012
    Posts
    9

    Default

    Hi,

    i'm new to autocad programming. I'd like to use this code so I do not get prompted "do you want to save drawing" every time I open a file from an hyperlink in excel.

    Can anyone guide me on how and where do I throw this piece of code? I created acad.lsp and acaddoc.lsp with the code on post #1 but it doesn't work. (I verified that those two files are loaded at startup as well).

    Thanks!

  5. #25
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Motherboard:
    Intel DZ77RE-75K
    CPU:
    i7-3770K 3.50GHz
    RAM:
    32GB
    Graphics:
    Nvidia Quadro 2000
    Primary Storage:
    125GB SSD
    Secondary Storage:
    500GB SATA
    Monitor:
    ASUS 27" / ASUS 24"
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    3,639

    Default

    Quote Originally Posted by Chronik View Post
    Hi,

    i'm new to autocad programming. I'd like to use this code so I do not get prompted "do you want to save drawing" every time I open a file from an hyperlink in excel.
    Before doing so, do you know why you are being prompted to save a new drawing when you close it? You will only be prompted if a change is made to the drawing.
    If you take care to not make any drawing changes at startup time (with any of the various startup files), then you won't get prompted, and you won't need any "code".

  6. #26
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    Jun 2012
    Posts
    9

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by rkmcswain View Post
    Before doing so, do you know why you are being prompted to save a new drawing when you close it? You will only be prompted if a change is made to the drawing.
    If you take care to not make any drawing changes at startup time (with any of the various startup files), then you won't get prompted, and you won't need any "code".
    Hi, I am not doing any changes at startup, and i get promped "do you want to save dwg1" when clicking on an excel hyperlink while autocad was not running beforehand.

    Thanks!

Similar Threads

  1. How to solve "Drawing Recovery" message
    By khoshravan in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 4
    Last Post: 10th Dec 2010, 08:06 pm
  2. Replies: 0
    Last Post: 15th Nov 2010, 08:30 am
  3. "save" in the file "pull down menu" not working
    By kfarrar in forum Civil 3D & LDD
    Replies: 9
    Last Post: 17th Feb 2010, 06:45 am
  4. AcadMap3D 2010_freezes on "open" or "save" ...
    By Jest in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 8
    Last Post: 26th Aug 2009, 08:27 am
  5. After command 'copy': "Autocad message: item added" WHY?
    By MarcoW in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 25th Aug 2009, 12:24 pm

Bookmarks

Posting Permissions

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