Refresh Drawing

Discussion in 'AutoCAD' started by danrald, Sep 2, 2004.

  1. danrald

    danrald Guest

    I've written a program that replaces blocks and attributes. But I must close the form to view the changes. I would like to click a button in a VBA form, make the changes, then refresh the drawing. How is this done, I cannot find anything on it.

    Thanks,
    Daniel
     
    danrald, Sep 2, 2004
    #1
  2. danrald

    Matt W Guest

    UPDATE
    Try something like this...

    Dim objEntity As AcadEntity
    objentity.Update

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | I've written a program that replaces blocks and attributes. But I must
    close the form to view the changes. I would like to click a button in a VBA
    form, make the changes, then refresh the drawing. How is this done, I cannot
    find anything on it.
    |
    | Thanks,
    | Daniel
     
    Matt W, Sep 2, 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.