Share

AcDbObject::addPersistentReactor

C++

ACDBCORE2D_PORT Acad::ErrorStatus addPersistentReactor(
    AcDbObjectId objId
);

Description

Adds the database-resident object specified by objId to the reactor list of the AcDbObject object.

Note

To add a persistent reactor to an object, the object must be open AcDb::kForWrite.

Don't forget to establish an owner for the persistent reactor. If you don't establish an owner, it is not saved with the drawing, and then is not available the next time the drawing is loaded. To accomplish this, non-graphical objects used as persistent reactors are usually added to a dictionary in the Named Objects Dictionary or to an extension dictionary of some object.

Parameters

Parameters Description
objId Input objectId of the database resident persistent reactor object to add

Links

AcDbObject

Was this information helpful?