I have a switch with some inputs. Swtich input is linked to $F to loop through.
For all of the inputs I created a detail attribute "type" e.g. "sphere" / "torus" / "box". The null node reads the detail attribute and writes the value in its parameter.
I want to setup the rendering in a way that it will skip the render if the null node detects that I am rendering a "box". I thought of doing that with a pre frame script that checks the parameter of the null node if its == "box" and then skip the render.
What would be the best way to skip the render here? Is there a hscript or python expression for that?
Jon
skipFramesByAttributeValue.hip