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

Revision history [back]

Undefined Method for #

Hello Unmet!

I am trying to manipulate model object fields via a measure and have found the object that I need to modify, However whenever I attempt to use any of the method names for that object ie. "Set" I get an error saying "Undefined method [insert method name here] for #. I know I have the correct object variable because I am able to use the .name and print to the console.

It seems there must be a bridge to the Hash and the fields of the object.