xarchx

xarchx

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

send code to houdini Jan. 20, 2012, 8:27 p.m.

thx you!

send code to houdini Jan. 20, 2012, 1:07 p.m.

is there a way to running houdini python commands from external editor?
thx!

python houdini Sept. 29, 2011, 8:16 a.m.

i just tested i hope it would help you
import hou
geo = hou.node(“/obj”).createNode(“shopnet”,“test”)
temp_ = hou.ToggleParmTemplate(“a”,“tested”,0,script_callback=None)
temp_.setTags({“script_callback”: “import hou.session; hou.session.doSome()”,
“script_callback_language”: “python”})
geo.addSpareParmTuple(temp_,('General test',),True)

def doSome():
if geo.evalParm(“a”) == 0:
print “create”
if geo.evalParm(“a”) == 1:
print “delete”