New drawing?!

Discussion in 'AutoCAD' started by willemschwarte, Jul 2, 2004.

  1. Hi,

    I'm programming with VB.NET and COM and I need a way to see, when a users saves a drawing, if the drawing is a newly created one.

    When I check the command that is send when saving a new drawing, when I press the save button, it sends QSAVE, but then I don't see if it is a new drawing. It should have send Save As... or something... Is there a way to check this!?
     
    willemschwarte, Jul 2, 2004
    #1
  2. willemschwarte

    MickyV Guest

    Check the document's FullName property.

    If it hasn't been saved, it will be an empty string. If it has, it will be the full path and filename.

    If ThisDrawing.FullName = "" then 'drawing has not been saved
    'do what you want
    End If

    Mick.
     
    MickyV, Jul 7, 2004
    #2
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.