Mesh threshold selector component. Small difference between Legacy and LBT

Hello,
I have just noticed a small difference between the “mesh threshold selector” component from the Legacy version to the LBT version, which I think is a bit annoying. In LBT when no mesh faces meet the defined threshold the component shows an error and it is not possible to retrieve the output total_value or total_area for it.

Wouldn’t be better to not plot the error and having instead a value of 0 as output (which is actually the true quantity) as in the Legacy version?

It is a small thing and I don’t know if it was done on purpose or is just a little bug, but it can create some issue in a larger/automated workflow.

Best,
Matteo

Hi @Matteo ,

Thanks for the suggestion and that’s an easy thing to fix. I just pushed a change to the latest development version of the plugin:

And you should be able to get the updated component with the LB Versioner within an hour or so, after which the new component will have the Legacy behavior:

Thanks again.

1 Like