Reactors: object properties thru non-modal dialogs

Discussion in 'AutoCAD' started by Tom Berger, Sep 13, 2003.

  1. Tom Berger

    Tom Berger Guest

    Hi,

    my app makes heavy use of reactors. Since it is not allowed to modify
    the calling object by the reactor function itself, I use a combination
    of an object reactor (this collects the modified entities in a list)
    and an editor-reactor, which fires on event "command-ended", looks for
    the global list of modified entities, and does it's job on them. This
    works just fine.

    However, whenever a user modifies an object thru an non-modal dialog
    dialog, no "command-ended" reactor is fired. This is the case i.e.
    when you modify an object's layer by picking it first and then
    selecting another layer for it from the standard toolbar.

    Does anybody have any clue, which reactor fires on this events? How
    can I modify my objects by a reactor function, when they have been
    modified via a non-modal dialog?

    At the moment I help myself by modifying this objects on
    "command-will-start" by the next issued command. But this is not a
    really good solution.

    TIA
    Tom Berger
     
    Tom Berger, Sep 13, 2003
    #1
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.