Automatic Save Problem....

Discussion in 'AutoCAD' started by Steven Craig Basham, Jan 8, 2004.

  1. Hello. I've written a program that creates a plot file whenever the user
    saves his/her drawing. The app works great except for one caveat: when
    the user does a 'copy with base point' command on a block, AutoCAD saves the
    program, thereby kicking off my autoplot program (I'm using the end_save
    event to run my app). Does anyone have a good idea on how to check if the
    save is from a user vs. acad?

    I'm not sure of how to go about learning if copy with base point has been
    used.

    Thank you for your help!

    Steve
     
    Steven Craig Basham, Jan 8, 2004
    #1
  2. Steven Craig Basham

    Joe Sutphin Guest

    Steven,

    You could try putting your routine in the BeginClose event.

    Joe
     
    Joe Sutphin, Jan 8, 2004
    #2
  3. To find out if the file is being saved by COPYBASE
    or COPYCLIP, look at the filename. If the filename
    starts with "A$" then you should ignore the event.
     
    Tony Tanzillo, Jan 8, 2004
    #3
  4. Thank you Tony! That's exactly what I was looking for (I already skip the
    event if it ends with .??$ :)
    message news:3ffda278$1_1@statler...
     
    Steven Craig Basham, Jan 8, 2004
    #4
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.