Jump to content

load a Hip file trough a "houxmlrpc" proxy server


MrGAG

Recommended Posts

Hello everyone,

I trying to explore houdini python scripting capabilities, mostly regarding controlling a remote computer running houdini.

For that, I tried using houxmlrpc module. I followed online examples using this module and I have been able to modify some parameters through the network : pretty cool !!

but it doesn't work that well when I use hipFile module :

import houxmlrpc

s = houxmlrpc.ServerProxy('http://computer:8888')

hou = s.hou

hou.hipFile.load("C:\\myFile.hip",True)

it does nothing on remote computer, and gives me a bunch of warning messages on local computer

hou.hipFile.load("C:\\myFile.hip",True) works fine when triggered localy, but not through xmlrpc module

What am I doing wrong ?

I am also confused by the "self" parameter I see a lot in HOM references, what is that ?

Edited by MrGAG
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...