How to find a "dirty flag" in a drawing when using bulk convert macro?

Discussion in 'SolidWorks' started by SW Monkey, Feb 14, 2006.

  1. SW Monkey

    SW Monkey Guest

    I have a macro that I run to bulk convert drawings in a folder.
    Sometimes a drawing may have dangling dimensions or be crosshatched.
    Is there a way I can set the macro to check for a "dirty flag"? (or
    what ever the correct terminology is) If there is a dirty flag, I
    would like the drawing to be printed out or logged in a log file.
     
    SW Monkey, Feb 14, 2006
    #1
  2. SW Monkey

    TOP Guest

    You might want to look at:

    Events

    swRebuildOptions_e
    swAppNotify_e
    swAssemblyNotify_e

    ModifyNotify - DrawingDoc Event

    ModelDoc2::Rebuild

    ModelDoc2::GetSaveFlag

    ModelDoc2::SetSaveFlag

    I must confess I haven't used these but your question piqued my
    interest so I dug these up as a starting point. In addition if you RMB
    in the editor window and select the object browser you will see all the
    notification events.
     
    TOP, Feb 15, 2006
    #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.