Hello,
I dont understand what you mean by "AcDbDwgFiler derived object that points to a buffer"
The buffer is a class member variable that you will maintain in your derived class.
Let me clarify how this might work :
1) Derive a class from AcDbDwgFiler, say AcDbMyDwgFiler
2) Have a buffer (say of type AcString) as a class member variable in AcDbMyDwgFiler class
3) Override all the virtual methods of AcDbDwgFiler and provide an implemention of those methods such that they update the AcString member variable. For example, the "writeDouble" method should update the string based on the double parameter.
Regarding the usage of the AcDbMyDwgFiler :
When you iterate the model space and find entities that interest you, then create an instance of the AcDbMyDwgFiler by getting its AcRxClass and using it to call the "AcRxClass::create" method.
Finally call the dwgOutFields method on the entity and pass-in the instance of AcDbMyDwgFiler.
Now you have the buffer from the AcDbMyDwgFiler class and you can use it as you need it.
Hope this clarifies.
Balaji
Developer Technical Services
Autodesk Developer Network