I have written a basic web service using RealDWG(.NET) that can update a DWG-file from one version to another with an option to update an existing block attribute. No other content in the DWG file should be changed/corrupted/deleted in a way so it cannot be edited just as before my little service executed and saved the file. The service seems to work fine when using some sample files I have received. I've done a visual comparison using DWG TrueView 2013 and to my eye it looks the same. Does anyone know of a tool that could compare and list if something was changed or excluded from the original drawing?
Even though the resulting file looks ok I've noticed a couple of things that makes me wonder if I've missed something:
I have no idea what program(s) were actually used to create the drawings I have tested but the service have to handle files produced with several different AutoCAD products (including different versions).
Being new to RealDWG and most things related to AutoCAD any help or guidance would be greatly appreciated.
If theAecxxx files are being loaded, then the objects that they own/implement will be updated to the version of your RealDWG and cannot be changed back to an older version even if you save the file back to an older version dwg. That's fine if they were already the current version, but from what you are saying, that would not be fine if they were an older version to start with.
Another thing that could affect file size is if the drawing was saved in Acad with partial save enabled. This would cause the drawing to have extra data in it from the partial saves. When your RealDWG app saves it, that will be a full save and will remove the partial save data since it is no longer needed. That woudl cause the dwg file to shrink.
The requirements changed so it is now OK that the file is only saved in the latest format meaning that there should not be a problem with using the Aecxxx files that comes with RealDWG 2013.