Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Yes, it looks like MaterialPropertyGlazingSpectralData has been was added to the SDK. for version 1.14.0.

Yes, it looks like MaterialPropertyGlazingSpectralData was added to the SDK for version 1.14.0.


require 'openstudio'

model = OpenStudio::Model::Model.new

mpgsd = OpenStudio::Model::MaterialPropertyGlazingSpectralData.new(model)

puts model

OS:Version,
  {aaed64b9-c1d7-4808-8a19-0b323eaa3884}, !- Handle
  1.14.0;                                 !- Version Identifier

OS:MaterialProperty:GlazingSpectralData,
  {8404302e-0f13-4db1-9fda-2b6e4f2dcb35}, !- Handle
  Material Property Glazing Spectral Data 1; !- Name

Yes, it looks like MaterialPropertyGlazingSpectralData was added to the SDK for version 1.14.0.

Testing with the Ruby bindings confirms it.


require 'openstudio'

model = OpenStudio::Model::Model.new

mpgsd = OpenStudio::Model::MaterialPropertyGlazingSpectralData.new(model)

puts model

OS:Version,
  {aaed64b9-c1d7-4808-8a19-0b323eaa3884}, !- Handle
  1.14.0;                                 !- Version Identifier

OS:MaterialProperty:GlazingSpectralData,
  {8404302e-0f13-4db1-9fda-2b6e4f2dcb35}, !- Handle
  Material Property Glazing Spectral Data 1; !- Name