Hey there,Ron...try this:
DBMOD System Variable Concepts Procedures Reference
(Read-only)
Type: Integer
Not saved
Indicates the drawing modification status using bitcode. The value is the sum of the following:
1 Object database modified
4 Database variable modified
8 Window modified
16 View modified
AutoCAD resets the DBMOD value to 0 when you save the drawing.