public void InitHeaders(string filename, string schema) { FILE_DESCRIPTION hDesc = new FILE_DESCRIPTION(); hDesc.implementation_level = "2;1"; FILE_NAME hName = new FILE_NAME(); hName.Name = filename; hName.OriginatingSystem = "buildingSMART IFC Documentation Generator"; hName.PreprocessorVersion = "buildingSMART IFCDOC 8.8"; // was "buildingSMART IFCDOC" for 2.7 and earlier; //hName.Author.Add(System.Environment.UserName); //hName.Organization.Add(System.Environment.UserDomainName); hName.Timestamp = DateTime.UtcNow; FILE_SCHEMA hSchema = new FILE_SCHEMA(); hSchema.schema.Add(schema); this.Headers.Add(hDesc); this.Headers.Add(hName); this.Headers.Add(hSchema); }