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

Revision history [back]

wall_construction is still just in ref_model you need to clone it to model before you assign it. That would look something like this.

wall_construction_clone = wall_construction.clone(model)
default_ext_surface_const_set.setWallConstruction(wall_construction_clone.to_Construction.get)

wall_construction is still just in ref_model you need to clone it to model before you assign it. That would look something like this.

wall_construction = wall_construction.to_Construction.get
wall_construction_clone = wall_construction.clone(model)
default_ext_surface_const_set.setWallConstruction(wall_construction_clone.to_Construction.get)
wall_construction.clone(model).to_Construction.get
default_ext_surface_const_set.setWallConstruction(wall_construction_clone)