[Sidefx-houdini-list] python expressions... how we doing?

Rangi Sutton rangi at kanuka.com.au
Wed Jan 23 03:35:32 EST 2008

Mark Story wrote:
>> ../../../`opinput("..",0)`/wheel_project/OUT
> (hou.Node.inputs(hou.node("/obj/geo1/merge1"))[0])
Thanks Mark! But it doesn't work to copy/paste obviously. To get more 
precise I offer a hip file! Crossposting to the forum because this thing 
don't do file attachments and the output of opscript is seriously kooky 
in h9.1b.

The hip file:

The crosspost:


Continuing a thread from the mailing list, attached is an example hip 
file, with opinputs() used in an object merge sop. The request being 
that the expression be re-written in python, as an example of python 
expression usage.

Mark story translated ../../../`opinput("..",0)`/wheel_project/OUT to be 
(hou.Node.inputs(hou.node("/obj/geo1/merge1"))[0]) , however I'm after a 
working example, because debugging something you don't fully understand 
ain't fun.

The example hip file contains this expression in 


If anyone can convert this working as a python expression it would be 
greatly appreciated.


Rangi Sutton                      Kanuka Studio Pty Ltd
rangi at kanuka.com.au               http://www.kanuka.com.au/
Studio +61 (0)7 3139 1040         35 Dover St. Albion
Mobile +61 (0)4 1521 1280         QLD 4010 Australia

More information about the Sidefx-houdini-list mailing list