我想该用AcDbObjectReactor这个类的 MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/Images/ac.down.gif" border="0" alt=""/> AcDbObjectReactor Notification Functions
| MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/cancelled.htm">cancelled
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/copied.htm">copied
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/erased.htm">erased
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/goodbye.htm">goodbye
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modified.htm">modified
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modifiedXData.htm">modifiedXData
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modifyUndone.htm">modifyUndone
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/objectClosed.htm">objectClosed
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/openedForModify.htm">openedForModify
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/reappended.htm">reappended
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/subObjModified.htm">subObjModified
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/unappended.htm">unappended
|
先添加reactor到line中 用 AcDbObject::addReactor Function 即 void addReactor( AcDbObjectReactor* newObj) const; newObj | Pointer to transient reactor object to add |
Adds the transient reactor pointed to by pNewObj to the AcDbObject object's reactor list. Note To add a transient reactor to an object, the object need only be open AcDb::kForRead (but it also works if it's open AcDb::kForWrite). 然后再在 AcDbObjectReactor的erased中去调用就可以了 | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/cancelled.htm">cancelled
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/copied.htm">copied
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/erased.htm">erased
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/goodbye.htm">goodbye
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modified.htm">modified
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modifiedXData.htm">modifiedXData
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/modifyUndone.htm">modifyUndone
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/objectClosed.htm">objectClosed
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/openedForModify.htm">openedForModify
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/reappended.htm">reappended
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/subObjModified.htm">subObjModified
| | MSITStore:D:\Program%20Files\objectarx2002\docs\arxref.chm::/AcDb/AcDbObjectReactor/unappended.htm">unappended
|
先添加reactor到line中 用 AcDbObject::addReactor Function 即 void addReactor( AcDbObjectReactor* newObj) const; newObj | Pointer to transient reactor object to add |
Adds the transient reactor pointed to by pNewObj to the AcDbObject object's reactor list. Note To add a transient reactor to an object, the object need only be open AcDb::kForRead (but it also works if it's open AcDb::kForWrite). 然后再在 AcDbObjectReactor的erased中去调用就可以了 |