Results 1 to 10 of 10

Thread: Disabling / Scripting around "drawing was last saved by an e

  1. #1
    Chris Shoemaker Guest

    Disabling / Scripting around "drawing was last saved by an e

    This dialog box will appear when opening a file saved in an older version of
    building systems in ABS 2005. Has any one found a way to work around this
    dialog box, either programaticly or by disabling it entirely? Although
    ScriptPro has provisions to work around it, any sort of vba script (or i
    asume lisp) that opens older files will stall. Or perhaps, is there some way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing seems to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this application.
    Saving the drawing will upgrade it to the current version. See the ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is recommended to
    maintain complete functionality. See the readme for details on drawing
    versions and regenerating object relationships .... Regenerate this drawing
    now?"

  2. #2
    Mike Tuersley Guest
    What is your end goal? If its something like printing, open the files with
    vanilla AutoCAD - making sure to set the proxy graphics variables first.

    -- Mike
    ___________________________
    Mike Tuersley
    ___________________________
    the trick is to realize that there is no spoon...

  3. #3
    Chris Shoemaker Guest
    Well it's part of a batch processor that can run various routines..some of
    which in the future may require ADT/ABS functionality, Though for now it's
    an interesting idea.

    Question though, if you fire up autocad using that profile without all the
    AEC stuff loaded, and then save using that profile, When you open it back in
    full-blown ADT/ABS will all the AEC stuff still work? Thanks Mike.

    -Chris

    "Mike Tuersley" <mtuersley_NOT_@rand.com> wrote in message
    news:19l1ff3gopwkt$.1byuf321lf3zw$.dlg@40tude.net. ..
    What is your end goal? If its something like printing, open the files with
    vanilla AutoCAD - making sure to set the proxy graphics variables first.

    -- Mike
    ___________________________
    Mike Tuersley
    ___________________________
    the trick is to realize that there is no spoon...

  4. #4
    Mike Tuersley Guest
    Not sure - I'd definitely test it. For printing, no saving is required -
    open read only, print, go to next

    -- Mike
    ___________________________
    Mike Tuersley
    ___________________________
    the trick is to realize that there is no spoon...

  5. #5
    Chris Shoemaker Guest
    Actually, thinking about it a bit, updating the object relationships so that
    dialog box doesn't come up anymore is probably one of the things the batch
    processor would be trying to accomplish, so simply bypassing it isn't going
    to solve that. Thanks though.

    -Chris

    "Mike Tuersley" <mtuersley_NOT_@rand.com> wrote in message
    news:19l1ff3gopwkt$.1byuf321lf3zw$.dlg@40tude.net. ..
    What is your end goal? If its something like printing, open the files with
    vanilla AutoCAD - making sure to set the proxy graphics variables first.

    -- Mike
    ___________________________
    Mike Tuersley
    ___________________________
    the trick is to realize that there is no spoon...

  6. #6
    Matt W Guest
    Chris: You're still getting this error message??
    I replied to one of your previous posts (Jan 6, '05) in the ABS group about this.

    Here's what Chris Yanchar had to say about this back on August 2, 2004 when I originally posted the same question on the ADT NG.

    "As the dialog and ReadMe indicate, this update process needs to occur to
    properly promote the previous version drawing to the current version. I
    checked with the someone on the ABS team and was told the following:
    "We do check to see if we are running from a script, and if so it should
    just send a message to the command line instead of popping up a dialog."

    So it sounds like you can migrate your old drawings through a script to
    avoid this message."

    When I first started getting this message, I was *extremely* frustrated with it.
    What I ended up doing was generating a script that simply opened, saved, closed 1000's of drawings.

    Then I could run my VBA batch plotting program and all was well.


    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message news:42569124_1@newsprd01...
    This dialog box will appear when opening a file saved in an older version of
    building systems in ABS 2005. Has any one found a way to work around this
    dialog box, either programaticly or by disabling it entirely? Although
    ScriptPro has provisions to work around it, any sort of vba script (or i
    asume lisp) that opens older files will stall. Or perhaps, is there some way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing seems to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this application.
    Saving the drawing will upgrade it to the current version. See the ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is recommended to
    maintain complete functionality. See the readme for details on drawing
    versions and regenerating object relationships .... Regenerate this drawing
    now?"


  7. #7
    Chris Shoemaker Guest
    Matt,

    The issue is that running a batch script to open and resave every single company drawing is far less preferable to being able to just handle the dialog in a routine. Also, if the drawings are recieved from another party, then running some sort of batch routine becomes a two step process, first using script pro to save and regen everything, and then actually running the routine.

    -Chris
    "Matt W" <nospam@address.withheld.com> wrote in message news:4256c752_3@newsprd01...
    Chris: You're still getting this error message??
    I replied to one of your previous posts (Jan 6, '05) in the ABS group about this.

    Here's what Chris Yanchar had to say about this back on August 2, 2004 when I originally posted the same question on the ADT NG.

    "As the dialog and ReadMe indicate, this update process needs to occur to
    properly promote the previous version drawing to the current version. I
    checked with the someone on the ABS team and was told the following:
    "We do check to see if we are running from a script, and if so it should
    just send a message to the command line instead of popping up a dialog."

    So it sounds like you can migrate your old drawings through a script to
    avoid this message."

    When I first started getting this message, I was *extremely* frustrated with it.
    What I ended up doing was generating a script that simply opened, saved, closed 1000's of drawings.

    Then I could run my VBA batch plotting program and all was well.


    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message news:42569124_1@newsprd01...
    This dialog box will appear when opening a file saved in an older version of
    building systems in ABS 2005. Has any one found a way to work around this
    dialog box, either programaticly or by disabling it entirely? Although
    ScriptPro has provisions to work around it, any sort of vba script (or i
    asume lisp) that opens older files will stall. Or perhaps, is there some way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing seems to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this application.
    Saving the drawing will upgrade it to the current version. See the ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is recommended to
    maintain complete functionality. See the readme for details on drawing
    versions and regenerating object relationships .... Regenerate this drawing
    now?"


  8. #8
    Matt W Guest
    I know it sucks, but that's your only option unless Chris is holding out on
    us.

    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:4256ca5a_1@newsprd01...
    Matt,

    The issue is that running a batch script to open and resave every single
    company drawing is far less preferable to being able to just handle the
    dialog in a routine. Also, if the drawings are recieved from another party,
    then running some sort of batch routine becomes a two step process, first
    using script pro to save and regen everything, and then actually running the
    routine.

    -Chris
    "Matt W" <nospam@address.withheld.com> wrote in message
    news:4256c752_3@newsprd01...
    Chris: You're still getting this error message??
    I replied to one of your previous posts (Jan 6, '05) in the ABS group
    about this.

    Here's what Chris Yanchar had to say about this back on August 2, 2004
    when I originally posted the same question on the ADT NG.

    "As the dialog and ReadMe indicate, this update process needs to occur to
    properly promote the previous version drawing to the current version. I
    checked with the someone on the ABS team and was told the following:
    "We do check to see if we are running from a script, and if so it should
    just send a message to the command line instead of popping up a dialog."

    So it sounds like you can migrate your old drawings through a script to
    avoid this message."

    When I first started getting this message, I was *extremely* frustrated
    with it.
    What I ended up doing was generating a script that simply opened, saved,
    closed 1000's of drawings.

    Then I could run my VBA batch plotting program and all was well.


    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:42569124_1@newsprd01...
    This dialog box will appear when opening a file saved in an older
    version of
    building systems in ABS 2005. Has any one found a way to work around
    this
    dialog box, either programaticly or by disabling it entirely? Although
    ScriptPro has provisions to work around it, any sort of vba script (or i
    asume lisp) that opens older files will stall. Or perhaps, is there some
    way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing seems
    to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this application.
    Saving the drawing will upgrade it to the current version. See the
    ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is
    recommended to
    maintain complete functionality. See the readme for details on drawing
    versions and regenerating object relationships .... Regenerate this
    drawing
    now?"


  9. #9
    Chris Shoemaker Guest
    Oh well, I guess I can dream :-) Thanks.

    -Chris

    "Matt W" <nospam@address.withheld.com> wrote in message
    news:4256cb4d$1_3@newsprd01...
    I know it sucks, but that's your only option unless Chris is holding out
    on
    us.

    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:4256ca5a_1@newsprd01...
    Matt,

    The issue is that running a batch script to open and resave every single
    company drawing is far less preferable to being able to just handle the
    dialog in a routine. Also, if the drawings are recieved from another
    party,
    then running some sort of batch routine becomes a two step process, first
    using script pro to save and regen everything, and then actually running
    the
    routine.

    -Chris
    "Matt W" <nospam@address.withheld.com> wrote in message
    news:4256c752_3@newsprd01...
    Chris: You're still getting this error message??
    I replied to one of your previous posts (Jan 6, '05) in the ABS group
    about this.

    Here's what Chris Yanchar had to say about this back on August 2, 2004
    when I originally posted the same question on the ADT NG.

    "As the dialog and ReadMe indicate, this update process needs to occur
    to
    properly promote the previous version drawing to the current version. I
    checked with the someone on the ABS team and was told the following:
    "We do check to see if we are running from a script, and if so it should
    just send a message to the command line instead of popping up a dialog."

    So it sounds like you can migrate your old drawings through a script to
    avoid this message."

    When I first started getting this message, I was *extremely* frustrated
    with it.
    What I ended up doing was generating a script that simply opened, saved,
    closed 1000's of drawings.

    Then I could run my VBA batch plotting program and all was well.


    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:42569124_1@newsprd01...
    This dialog box will appear when opening a file saved in an older
    version of
    building systems in ABS 2005. Has any one found a way to work around
    this
    dialog box, either programaticly or by disabling it entirely? Although
    ScriptPro has provisions to work around it, any sort of vba script (or
    i
    asume lisp) that opens older files will stall. Or perhaps, is there
    some
    way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing seems
    to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this
    application.
    Saving the drawing will upgrade it to the current version. See the
    ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is
    recommended to
    maintain complete functionality. See the readme for details on drawing
    versions and regenerating object relationships .... Regenerate this
    drawing
    now?"




  10. #10
    Jimmy Bergmark Guest
    You should be able to dismiss the dialog box with Windows API. Not sure you
    can from within AutoCAD otherwise you have to call on an external file to do
    it for you.
    Take a look at how you can make use of the below:
    Private Declare Function SendMessage Lib "user32" Alias "SendMessageA"
    (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As
    Any) As Long
    Call SendMessage(lngx, WM_CLOSE, 0, ByVal 0&)

    --
    Best Regards, Jimmy Bergmark
    CAD and Database Developer Manager at www.pharmadule-emtunga.com
    Blog: http://jtbworld.blogspot.com
    JTB FlexReport (FLEXnet / FLEXlm report tool) -
    www.jtbworld.com/jtbflexreport
    SmartPurger (Purges automatically) - www.jtbworld.com/?/smartpurger.htm
    or download some freeware at www.jtbworld.com
    More on AutoCAD 2005 and 2006
    www.jtbworld.com/autocad2005.htm
    www.jtbworld.com/autocad2006.htm


    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:4256d3f5$1_1@newsprd01...
    Oh well, I guess I can dream :-) Thanks.

    -Chris

    "Matt W" <nospam@address.withheld.com> wrote in message
    news:4256cb4d$1_3@newsprd01...
    I know it sucks, but that's your only option unless Chris is holding out
    on
    us.

    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:4256ca5a_1@newsprd01...
    Matt,

    The issue is that running a batch script to open and resave every single
    company drawing is far less preferable to being able to just handle the
    dialog in a routine. Also, if the drawings are recieved from another
    party,
    then running some sort of batch routine becomes a two step process, first
    using script pro to save and regen everything, and then actually running
    the
    routine.

    -Chris
    "Matt W" <nospam@address.withheld.com> wrote in message
    news:4256c752_3@newsprd01...
    Chris: You're still getting this error message??
    I replied to one of your previous posts (Jan 6, '05) in the ABS group
    about this.

    Here's what Chris Yanchar had to say about this back on August 2, 2004
    when I originally posted the same question on the ADT NG.

    "As the dialog and ReadMe indicate, this update process needs to occur
    to
    properly promote the previous version drawing to the current version. I
    checked with the someone on the ABS team and was told the following:
    "We do check to see if we are running from a script, and if so it
    should
    just send a message to the command line instead of popping up a
    dialog."

    So it sounds like you can migrate your old drawings through a script to
    avoid this message."

    When I first started getting this message, I was *extremely* frustrated
    with it.
    What I ended up doing was generating a script that simply opened,
    saved,
    closed 1000's of drawings.

    Then I could run my VBA batch plotting program and all was well.


    --
    I support two teams: The Red Sox and whoever beats the Yankees.

    "Chris Shoemaker" <css@leapc.com> wrote in message
    news:42569124_1@newsprd01...
    This dialog box will appear when opening a file saved in an older
    version of
    building systems in ABS 2005. Has any one found a way to work around
    this
    dialog box, either programaticly or by disabling it entirely?
    Although
    ScriptPro has provisions to work around it, any sort of vba script
    (or
    i
    asume lisp) that opens older files will stall. Or perhaps, is there
    some
    way
    to detect the appearence of this box and automaticly send a "yes"?

    I've tried disabling AEC warnings, setting filedia to 0, nothing
    seems
    to
    effect it. Any ideas?

    -Chris

    The exact dialog:

    "This drawing was last saved by an earlier version of this
    application.
    Saving the drawing will upgrade it to the current version. See the
    ReadMe
    for details .... This drawing likely needs to have it's object's
    relationships updated. This could be a lengthy process but is
    recommended to
    maintain complete functionality. See the readme for details on
    drawing
    versions and regenerating object relationships .... Regenerate this
    drawing
    now?"






Similar Threads

  1. Replies: 2
    Last Post: 09-16-2005, 05:10 PM
  2. autocad / intellicad scripting
    By E_Friedrich in forum AutoCAD
    Replies: 0
    Last Post: 08-27-2005, 05:10 AM
  3. scripting Solidworks
    By in forum SolidWorks
    Replies: 1
    Last Post: 07-04-2005, 09:10 AM
  4. Disabling Commands
    By mrha1380 in forum Printing
    Replies: 2
    Last Post: 11-28-2004, 07:36 PM
  5. disabling "Show layer-purpose full name" in LSW
    By Gerd Beeckman in forum Cadence
    Replies: 2
    Last Post: 11-17-2004, 02:59 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
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum