First time here? Check out the Help page!
1 | initial version |
Thanks Matthew, that's exactly what I managed to do. To summarize what I did:
I imported my constructions from WINDOW 6 through the SketchUp script: Extensions>>Openstudio>>Import>>Import EnergyPlus Idf Constructions. This doesn't import the MaterialProperty:GlazingSpectralData object, and leaves the 'Window Glass Spectral Data Set Name' blank in the imported 'WindowMaterial:Glazing'.
I created an EnergyPlus script which imports 'MaterialProperty:GlazingSpectralData' object from the specified idf path and also searches and stores the 'Name' of the Spectral Data Set. I then set the 'Window Glass Spectral Data Set Name' of the required WindowMaterial:Glazing with the Name extracted.
Note: I realized that the it would have been easier to import the whole idf through the Eplus script, but then I couldn't assign my new window constructions to specific windows in the SketchUp app. Also, I'm including this as an answer, and not a comment because of the length of the response.