Graham Thompson


About Me

Not Specified

z0mg, things!


Recent Forum Posts

[py] How to change label of a single paramer instance of multiparm block folder? Feb. 20, 2019, 11:33 a.m.

This is definitely not possible I'm afraid. The best you could do would be to use an actual Label type parameter and set that to your desired value and it would remain for the life of that instance.

Pipeline - Serializing nodes Feb. 19, 2019, 2:40 p.m.

I don't know what's the big difference between calling the same script in the Python Shell and on another place (Tool in Shelf, python node, etc.).

The main difference is that the Python Shell runs in a separate thread where as things like shelf tools, menu entries, etc are run in the main thread. A lot of things definitely can cause weird behavior/crashes when running from the shell (think Qt) so if you're doing something complex it'a always advised to do it via shelf tool or menu item.

We've been successfully using the hou.Node methods for quite a while without running into issues so it could be very specific to what you are attempting to copy.

Define custom expression function Oct. 1, 2018, 2:48 p.m.

All the custom expression stuff is saved into a hip file. We've had issues with old/bad expressions stored in scenes causing issues in the last.

Everywhere I've ever worked has always just had one or more hscript files which define custom expressions and then have startup code that loads them via the hscript exread command.


return pythonexprs(“houdinipipeline.util.functions.ddEye()”);

hou.hscript(“exread /path/to/foo.expr”)

There are a few other hscript commands to do things with them but there is no Python support.