Closed ghost closed 2 years ago
The solution will be to override/reimplement the rtrace setattr method in rcontrib. Except for (i or I), most of the conditional tests that are being run for rtrace are not relevant for rcontrib anyway as the ambient caching parameters are not applicable for rcontrib.
Hi @built-tools! Yes. This is on me and the error here is based on the rtrace documentation assuming the -o
here is for -ospec
.
Here is the code that is raising the error:
I like the idea of re-writing the one for rcontrib - another solution is to do a check for the class name using self.__class__.__name__
and only remove the unrelevant checks when the name is not RtraceOptions.
This was addressed by https://github.com/ladybug-tools/honeybee-radiance-command/pull/230
The error is this:
This is what I am trying to do: The reason to do this is to redirect the rfluxmtx output to multiple matrices at the same time while tracing rays one. So, this is a pretty useful option.
I think the reason why this is raising exceptions is that we are relying on the on_setattr method inherited from rtrace.