Hi,
I am making an asset to export some height maps and splat maps to unity as .raw files. Maybe python is not the way to go on that one, and my code is certainly not optimal, but anyway, exports a getting pretty long time wise, and I would like some feedback.
I was wondering: is there a way to display any kind of progress bar during a python script execution ?
progress bar for python script
5060 3 0- gui2one
- Member
- 101 posts
- Joined: Feb. 2015
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- gui2one
- Member
- 101 posts
- Joined: Feb. 2015
- Offline
- gui2one
- Member
- 101 posts
- Joined: Feb. 2015
- Offline
It works like a charm, very handy.
I have a pure Python small issue though : if I cancel the operation, the progress dialog closes with an error:
“Unknown error when generating backtrace.”
I can't find any example about hou.OperationInterrupted exception being handled and I don't really know how to handle Python exceptions.
Are there any examples somewhere ?
I have a pure Python small issue though : if I cancel the operation, the progress dialog closes with an error:
“Unknown error when generating backtrace.”
I can't find any example about hou.OperationInterrupted exception being handled and I don't really know how to handle Python exceptions.
Are there any examples somewhere ?
-
- Quick Links