Skip to content

Re-wrap Thermochromic window model properly #1697

@evanweaver

Description

@evanweaver

Edit by @jmarrec on 2025-06-10 (empty message before):

The ThermochromicGlazing class we have is useless. because it tries to wrap this (emphasis mine)

OS:WindowMaterial:GlazingGroup:Thermochromic,
       \memo thermochromic glass at different temperatures
       \extensible:2
       \min-fields 4
  A1, \field Handle
       \type handle
       \required-field
  A2, \field Name
       \type alpha
       \required-field
       \reference MaterialNames
       \reference GlazingMaterialNames
  N1, \field Optical Data Temperature
       \type real
       \required-field
+      \begin-extensible
       \units C
       \ip-units F
  A3; \field Window Material Glazing Name
       \type object-list
       \required-field
       \object-list GlazingMaterialNames

So there are two extensible groups, but the class itself only has a single getter/setter pair for Optional Data Temperature and does not handle extensible groups at all, nor any Window Material Glazing Name

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions