Hello guys,
I need to create an empty file with python (for pipeline things), unfortunately I can't find any method that does this in the hou module.
Is there a way to create one correctly ?
I try to use open(“mynewfile.hiplc”, “w”).close() but when I want to open it I get “Unexpected end of hip file”, and that seems normal because I guess there is some sort of data that needs to be parsed when we save an empty file from houdini.
I guess it's possible to do it by launching a subprocess of houdini that saves an empty scene but it's less straightforward than just creating an empty scene with one command.
If anyone has an answer I'd take it!
Cheers,
Create a new file with Python
1407 0 0-
- DonRomanooo
- Member
- 1 posts
- Joined: March 2020
- Offline
-
- Quick Links
