Retrieving document data in file explorer

We had a NAS RAID drive capitulate recently. Some clever clogs removed a disc from the array and didn’t put it back in. The remaining drive then packed up and we lost most of our drawings. I think it was the same person who stopped a cloud back-up server from backing up as it was “taking up too much bandwidth”

Fortunately, we were able to recover a lot of data from the defunct hard drive. The names of the drawings are wiped, which, although frustrating isn’t the end of the world.

In our drawing template, we use Document User Text to add client names, project names etc. for efficiency (We have a batch file to create a new directory in file explorer which also has a .csv output which we import into the template file. This populates the title blocks in Layouts via the Text Field eg. “%<DocumentText(“Client”)>%”)

Would there be a way to retrieve DocumentText and “%<DateModified(“d/M/yy”, “en-GB”)>%” without opening the files? File explorer reads the date the document was pulled from the old HD, Rhino is reading the last time it was saved i.e before the cataclysm!

If it’s possible, it’d save sorting through 5K+ files manually!

Cheers

Somebody needed a similar solution to find all the Notes in a directory full of .3dm files: Reference Rhino Notes Tab to Grasshopper - Grasshopper - McNeel Forum

Starting from this script you can adapt to your needs.

P.S. Here is a version that reads also the User Keys. You only need a script to rename your files based on the values of the User Keys you need.

Read_Notes_v2.2.gh (7.8 KB)