I've been adding content to my .hse and .h2k files in a automated way for a long time. I'm filling in administrative data at the beginning of a project, creating window codes and submission preparation including QA checks.
I haven't pursued a automated process for data entry because half of the data entry time is from window data which is being manually read from pdf drawings anyway. Reading architectural data from the CAD drawings would be pretty slick.
Nigel, I encountered what you describe with the ID's when I worked with the window codes. I'm modifying .h2k data rather than creating new components, so its mostly been straightforward.
Stan