Runtime Error For Mass2Zone Module

When I try to run the Mass2Zone module, the read-me gives me a runtime error: “Runtime Error (TypeErrorException) len() of unsized object”. I only have a zone mass, zone name, and TRUE Boolean assigned to the createHBZone.

I have a feeling it has to do with the zone programs input. Before the runtime error I had gotten an error about not being able to find the Open Office zone program type, which is the default when nothing else is assigned. A Google search indicated that it might be a pathway problem, with Honeybee looking for the file in a place where it isn’t. I believe I found the Open Studio office file, but I’m not sure how to assign it to the zone program input. So I guess I have two questions:

  1. Is this runtime error likely associated with the zone program, or is it something else?
  2. What command/module do I use to load the Open Office file into my Grasshopper canvas so I can connect it to zone program?

Edit: One more thing I did try was the File Path module, where I selected the Office OSM file and connected that to the zone program input. That gave me an Index Out of Range runtime error. I’m thinking that’s close to what I need but that I’m missing something.

See attached image for what I’ve got going on. Thanks!

Perhaps, updating to a never version of Honeybee will help?

Wow. Believe it or not, that was the problem. It’s now finding all the Open Studio files. Thanks!

1 Like