save command can't invoke dwgOutFields of custom object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
in the arx sdk's examples ,there is one called "persreac_dg" in the folder of "samples\reactors".
I compiled it and run the command "ALINES", it works well and creates two lines and two reactors . I debuged the code, the first time I save the two lines into a dwg, I found the fuction "dwgOutFields " is invoked, then I closed this dwg and opened it again, I move one of the lines , then save the dwg again , but this time the fuction AsdkObjectToNotify::dwgOutFields is not invoked.
I want the AsdkObjectToNotify::dwgOutFields to be invoked each time the dwg is closed, because I have added the some other info the AsdkObjectToNotify, and the info has been changed in the AsdkObjectToNotify::modified(const AcDbObject* pObj), so I want to save this extro when the dwg is closed.