Send commands to Houdini with Maya.

   576   0   0
User Avatar
Member
1 posts
Joined: March 2018
Offline
Hi,

i try Houdini and i have a problem.

I try to create some nodes and trees in Houdini with Maya.

# Import.
import maya.cmds as cmds
import hou
import houxmlrpc
# Server.
server = houxmlrpc.ServerProxy('http://localhost:8888')
# hou = s.hou.
hou = server.hou

# Nodes creation …


# Try to connect the two nodes.
hou.node('/obj/MyTempBakeGeoNode/sop_simple_baker1').setInput(0, hou.node('/obj/MyTempBakeGeoNode/file1'), 0)

# Error: TypeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\xmlrpclib.py line 729: cannot marshal recursive dictionaries #

The command works in Houdini but not in Maya.

Is there an other solution to “control” Houdini with Maya ?

Thanks.
  • Quick Links