running file node via hscript or python

   4230   4   1
User Avatar
Member
27 posts
Joined: Sept. 2009
Offline
Hello,

I'm trying to figure out how to execute a file node that I have a fluid simulation plugged into. So basically, I am baking out the fluid animation. My problem is that I don't know how to execute the caching from the command line so that I may run the job on another machine in my network.

thanks in advance,

James
User Avatar
Member
1905 posts
Joined: Nov. 2006
Offline
From hscript you can use opparm -c

From Python you can use hou.Parm.pressButton()
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
27 posts
Joined: Sept. 2009
Offline
/obj/AutoDopNetwork -> opparm -c file1
Not enough arguments
/obj/AutoDopNetwork -> opparm -c file1 execute
Unknown parameter: execute
User Avatar
Member
1905 posts
Joined: Nov. 2006
Offline
It looks like you are attempting to write from a File Dop. The File Dop doesn't actually have a button to execute. You most likely want a ROP Output Driver instead.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
27 posts
Joined: Sept. 2009
Offline
thanks, that was what my problem was. I'm a noob, please forgive me.
  • Quick Links