xarchx
xarchx
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
send code to houdini 2012年1月20日20:27
thx you!
send code to houdini 2012年1月20日13:07
is there a way to running houdini python commands from external editor?
thx!
thx!
python houdini 2011年9月29日8:16
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”
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”