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

Revision history [back]

click to hide/show revision 1
initial version

You need to read it carefully: NameError: uninitialized constant BTAP::Geometry::Wizards.

TL;DR: Your measure was written targetting an older version of openstudio-standsards. openstudio-standards removed the BTAP::Geometry::Wizardsmodule at version 0.6.0. Methods were moved to another namespace.

The new method would be OpenstudioStandards::Geometry.create_shape_rectangle

https://github.com/NREL/openstudio-standards/blob/412de97737369c3ee642237a83c8e5a6b1ab14be/lib/openstudio-standards/geometry/create_shape.rb#L20


Commit that moved the methods: https://github.com/NREL/openstudio-standards/commit/b15945ade6d674c999be3c49c3f44b03786c7cd3

click to hide/show revision 2
No.2 Revision

You need to read it carefully: NameError: uninitialized constant BTAP::Geometry::Wizards.

TL;DR: Your measure was written targetting an older version of openstudio-standsards. openstudio-standards. openstudio-standards removed the BTAP::Geometry::Wizardsmodule at version 0.6.0. Methods were moved to another namespace.

The new method would be OpenstudioStandards::Geometry.create_shape_rectangle

https://github.com/NREL/openstudio-standards/blob/412de97737369c3ee642237a83c8e5a6b1ab14be/lib/openstudio-standards/geometry/create_shape.rb#L20


Commit that moved the methods: https://github.com/NREL/openstudio-standards/commit/b15945ade6d674c999be3c49c3f44b03786c7cd3

click to hide/show revision 3
No.3 Revision

You need to read it carefully: NameError: uninitialized constant BTAP::Geometry::Wizards.

TL;DR: Your measure was written targetting an older version of openstudio-standards. openstudio-standards removed the BTAP::Geometry::Wizardsmodule at version 0.6.0. Methods were moved to another namespace.

The new method would be OpenstudioStandards::Geometry.create_shape_rectangle

https://github.com/NREL/openstudio-standards/blob/412de97737369c3ee642237a83c8e5a6b1ab14be/lib/openstudio-standards/geometry/create_shape.rb#L20


Commit that moved the methods: https://github.com/NREL/openstudio-standards/commit/b15945ade6d674c999be3c49c3f44b03786c7cd3

The OpenStudio-SDK-Version-Compatibility-Matrix has a link to the gemfile were you'll see OS SDK 3.9.0 uses openstudio-standards 0.7.0. You can also know that by calling the OS CLI: openstudio gem_list