Hamilton Venus toggling layer issue

Hi, I am developing a Hamilton Venus script supporting a wide variety of labware in the same plate positions. For ease of accessing the labware rather than having them overlayed on each other in the layout file, I am using layers for each of the different labware types, so I can toggle them off for example when I want to teach a position so as not to have to rearrange things. This generally works fine but on occassion I get a “stubborn” layer that does not want to be toggled off. I cannot see anything that would otherwise normally prevent the layer from being toggled off and there was no action taken that would trigger something like that when I was able to toggle it off before.

In these cases, one solution I have found is to create a new layer and migrate my labware on the original layer to the new layer and then delete the “stubborn” layer that is no longer toggle-able. But I would like to understand more about what the root causes are that would make a layer not toggle-able and if there is another way I can get things back on track when I encounter this situation again where a layer that was previously toggle-able on/off is no longer able to be toggled off.

Thank you,

Mike Mueller

Hi Mike,

This isn’t an answer to your question, but have you looked at UpdateLoadedLabware from HSLDeckVisualise?

We use this to do the same as what you’re looking for.

Selected (blue) layers can not be toggled off.