[Sidefx-houdini-list] file SOP

Edward Lam edward at sidefx.com
Thu Feb 12 18:27:53 EST 2009


Since you're dealing with an expression, you need to return your path 
value, not print it. pythonexprs() is only necessary if the expression 
language on your parameter is set to hscript. It is NOT necessary if you 
set the parameter expression language to python.

Regards,
-Edward

Robert D.M. Smith wrote:
> Has anyone tried to take the print output of a Pythonmodule function & plug
> that into the Geometry File of a File SOP? I'm trying something like
> hou.node("some_node").hdaModule().foo() but it complains it can't read. For
> this example, foo fucntion prints out C:/temp/junk1.obj
> 
> I've tried enclosing this in a pythonexprs function too. Any suggestions
> would be welcomed.
> 




More information about the Sidefx-houdini-list mailing list