Objectmodified Event

Discussion in 'AutoCAD' started by srinivasan, Nov 17, 2004.

  1. srinivasan

    srinivasan Guest

    Hello all

    Is it possible to set the xdata to objects that
    are modified.I am using the objectmodified event
    to keep track of the objects that are modified.
    The problem i have is when assigning the
    xdata at this stage it gives me object opened for editing error.

    How to solve this problem.any help appreciated.

    Thanks in advance
    Sri
     
    srinivasan, Nov 17, 2004
    #1
  2. srinivasan

    MP Guest

    You can't modify an object in the callback.
    Store it's handle in a dictionary or where ever, and modify it after the
    reactor is done.
    hth
    Mark
     
    MP, Nov 17, 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.