Save the scene (.otl) in a folder with python?

   1463   2   0
User Avatar
Member
26 posts
Joined: 7月 2015
Offline
I'm exporting the geo in a scene with ‘.geometry().saveToFile()’ and I would also like to save the .otl file as well, what would the command be to save the Houdini file?
Edited by i73 - 2017年9月17日 17:33:20
User Avatar
スタッフ
3455 posts
Joined: 7月 2005
Offline
http://www.sidefx.com/docs/houdini/hom/hou/HDADefinition [www.sidefx.com]
has what you need.
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
26 posts
Joined: 7月 2015
Offline
arctor
http://www.sidefx.com/docs/houdini/hom/hou/HDADefinition [www.sidefx.com]
has what you need.
Perfect thank you!

hou.hipFile.save('myFile.hip')
  • Quick Links