hou.node("obj/sphere").parm("ty").set(1) hou.node("obj/box").parm("ty").set(2) def foo(): print "hello world" foo()