Jump to content

Python SOP Update on the Farm


sandrodisegni

Recommended Posts

Hi all,

 

I am trying to troubleshoot some multiOs render.

I have setup a font node and a pythonSOP to print a bunch of variables to my render. (See attachment)

 

On the farm (using Royal Render) I have set it to render one frame in each os. 

Frame 1 - Windows Farm

Frame 2 - Windows Workstations

Frame 3 - Linux Farm

Frame 4 - OSX

 

The problem is that when it renders it does not update the pythonSOP so it always renders as if in my windows machine printing the variables of the system that I saved the file in.

 

The code and the nodes are ilustrated below. Opening the scene does not update the text but changing frame does it.

 

I have tried:

- animating the text to force updating it.

- creating attributes on the python sop to animate and force update

- saving the scene in a high frame hoping that when it renders it would change frame forcing an update.

- creating a "opcook -F /obj/geo1/python1" Pre-Render Script

- creating a "opcook -F /obj/geo1/python1" Pre-Frame Script

- Adding a "f = hou.frame() " to the code to force updating.

 

Running out of ideas here. Anyone knows how to force the update when it loads the scene ?

 

Thanks,
Sandro

 

 

post-10727-0-26336000-1425089077_thumb.j

Link to comment
Share on other sites

I seem to have solved it .... What I did is take the code to COPS instead with a FONT there using $JOB, $HOUDINI_PATH, etc and having another font node with the code for OS and machine name. Go figure. 

If anyone knows why the python SOP would not update I am still very insterested in hearing it.

 

Cheers

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...