Houdini 18.0.499
All inputs of a swtich top still get considered for the cook. I'm using a switch to switch off a node when a render engine's python API can't be loaded, using an expression in the switch's input parameter. I can add a try/except block inside the Python Script top, but it's a little annoying to have to add all the logic under the except, as I dont think you can just `return` out of a python script early.


I've noticed this also with bypassed top nodes elsewhere in the network. Sometimes I'll have some laying around during testing, not connected to the output, but if they have any errors or something, they'll affect the whole graph.