accessing houdini through commandline (rendering)

   2540   4   0
User Avatar
Member
64 posts
Joined: 10月 2009
Offline
I am currently trying to access houdini through the command line, its working fine. however when i want to trigger a render from the command line i keep having this error

exec: 1: mantra: not found

i checked with print hou.node(“/out/mantra_front”) and i was able to get the position of the mantra node i was trying to trigger, so wat seems to be the problem ? Thanks
User Avatar
Member
7734 posts
Joined: 7月 2005
Offline
Did you source houdini_setup first?
User Avatar
Member
64 posts
Joined: 10月 2009
Offline
i did not source setup but i append the HFS path to my ubuntu variable path. I dont really understand how to source setup, is there any step by step guide to performing the procedure ? thanks
User Avatar
Member
64 posts
Joined: 10月 2009
Offline
I tried source houdini setup

The Houdini 11.0.469 environment has been initialized.

but the error still persist. This is how i executed the command

hou.node(“/out/mantra_front”).render()


exec: 1: mantra: not found
User Avatar
Member
64 posts
Joined: 10月 2009
Offline
oh i understand whats happening. I was running my source houdini_setup within my python script, so when houdini wants to call mantra it doesnt work. I append the source houdini_setup in my .login file and it solves the problem. Thanks.
  • Quick Links