Detecting changes in files

Hi,

I’d like to make a script in order to detect if in my current Rhino File, an object have been changed since last save. I’ll use a simple way : checking all objects ID, compare with all objects ID in previous file, new ones being new or changed objects.

Still, it’s not so reliable : if I explode then join an existing object, it’s ID change, so for an unchanged geometry I can have a new ID. So I’d like to compare new geometries to previous one, which don’t exist anymore in the new file. Did someone know a way to compare geometries using non meta-informations like ID, but the geometry itself ?

Regards,

I would look at the IsDocumentModified method.