[Sidefx-houdini-list] file SOP

Antoine Durr antoine at floqfx.com
Thu Feb 12 18:42:54 EST 2009


On Feb 12, 2009, at 3:18 PM, 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.

http://northernplanets.blogspot.com/2006/07/capturing-output-of-print- 
in-python.html

which basically explains a function that you would wrap around your  
function above to redirect stdout and stderr back as function returns.

-- Antoine


>
> -- 
>   Rob
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- Antoine

Antoine Durr
Floq FX Inc.
10659 Cranks Rd.
Culver City, CA 90230
310/430-2473





More information about the Sidefx-houdini-list mailing list