HB Color Rooms fails with concatenated data

@chris, I have noticed that the HB Color Rooms component fails if I pass it a concatenated data stream. I have found a workaround, which is to create custom metadata (with a “type” key) for the data header:


unnamed.gh (51.8 KB)

Unless you deliberately made the component fail in cases where there is no “type” key, I suggest that the component should be able to deal with this situation.

@MaxMarschall ,

There’s a simpler and more elegant solution - just connect up some text for the type_ input to the LB Arithmetic Operation component:

This is one of many reasons why that input exists there. Maybe I should just create a dummy type when you don’t connect anything. Something like “Unknown Data Type”.

I decided that including any type is better than the cryptic failure message but I also realized that I can just infer the base type from the units. So this is what you will get now when there’s no type_ connected:

2 Likes

Fantastic, thanks Chris!