2012년 1월 21일 토요일

Wing IDE + Houdini

Wing IDE > Python Configuation>Python Execuable (check custom)
path to( ~\Side Effects Software\Houdini xx.x.xxx\bin\hython2.6.exe)

Python Path(check custom)
path to (~\Side Effects Software\Houdini xx.x.xxx\python26)

then,in houdini Python Shell:
[code]
import houxmlrpc
houxmlrpc.run(port=50001)
[/code]

Wing IDE

[code]
import houxmlrpc
hou = houxmlrpc.ServerProxy("http://localhost:50001").hou
geo  = hou.node("/obj").createNode("geo")
geo.children()[0].destroy()
font = geo.createNode("font")
font.setParms({"text":"wing is connected"})
[/code]

댓글 없음:

댓글 쓰기