Search the Community
Showing results for tags 'hython'.
-
Hello evryone, I am looking for a hython command in order to list all the Operators Type Libraries as "Current HIP File", "FallBack hda definitions" or "Scanned Asset Library Directories" ... Thanks for your attention. Best regards Mathieu
-
Hi all (happy new year), I was wondering if anyone knows how to set the thread count in houdini via hython. I didn't immediately see anything in the docs.
-
Hi there, I'm importing the hou module into a custom python script and I would like to have multiple scenes opened at the same time. This is how it is implemented: import sys from importlib import reload sys.path.append(HOUDINI_PATH) try: import hou except ImportError: print('houdin...
-
Does anyone know the hython command to run a TOP Network node? >>> hou.node("/obj/topnet__wedges").cook() I tried the line above in a Houdini Python shell. It did not error, but it did not do anything.
-
in hython I don't know what are scriptargs. I found reference to kwargs, but scriptags remain enigma
-
Hi, I'm a bit of a newb learning houdini (ex-XSI vet) and I'm trying to create a script to do a viewport capture on a few machines to speed up the process but unfortunately I hit a roadblock when I try to run the process through hython >>> desktop = hou.ui.curDesktop() Traceback (most recent...
-
Hello I'm trying to make a little script that would check which frame was the last one rendered and then would continue the rendering process if necessary. It's a Windows machine The easiest way I could think of doing it was simply using the subprocess module to call the hrender script wit...
-
Hi! Is there a way to catch Mantra error in python script? I want to implement something like this: hou.hipFile.load(hipPath) try: hou.node("/out/mantra").render((1, 1, 1)) except error: #launch manta again or something else... hou.hipFile.clear() print "Frame " + str(1) + " was rendered"
-
Hey guys I've been exploring hython in-depth and I'm wondering if there is a way to capture the render statistics of a file and write it to a file. At the moment my only solution is running something like: hython myscript.py > mylog.txt However, I want to write the file from within the script and no...