Hi all.
I try to script houdini behaviour with python in Maya. I use houxmlrpc.
So all works from maya like in houdini python, but…
This code work in houdini python shell:
hObj = hou.node('/obj').createNode('geo', ‘mayaGeometry’)
hObj.moveToGoodPosition()
hObj.node('file1').destroy()
hImportFromMaya = hObj.createNode('file','importFromMaya')
hExportToMaya= hObj.createNode('file','exportToMaya')
hExportToMaya.setFirstInput(hImportFromMaya)
But it does not work in Maya. On last line
hExportToMaya.setFirstInput(hImportFromMaya)
I get the error:
# Error: TypeError: cannot marshal recursive dictionaries #
I want to understand why so…
control Houdini from Maya with RPC
4604 4 0- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- andrww
- Member
- 1 posts
- Joined: 1月 2012
- Offline
-
- Quick Links