Jump to content
LaidlawFX

hou.OperationFailed handle & format

Recommended Posts

Hello,

I was wondering how you format to handle a hou.OperationFailed exception.

I was using the below function to convert the file sop to python, because yeah...

http://www.sidefx.com/docs/houdini/hom/hou/Geometry#saveToFile

but in order to catch the exception it raises hou.OperationFailed 

http://www.sidefx.com/docs/houdini/hom/hou/OperationFailed

So this is not the case for try, except in python. My Houdini Feng Shui is just not showing me the way at the moment.

Thanks,

-Ben

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×