def snode_deactivate_dynamic(b: template()): for I in grouped(b.parent()): deactivate(b, I)
def snode_deactivate(b: template()): for I in grouped(b): deactivate(b, I)