Opening a file through python or CMD, to an existing Houdini

   430   3   0
User Avatar
Member
11 posts
Joined: 3月 2024
Offline
Hello !

I'm looking forward to exectue a command that would open a .hip file (through python or CMD), to an existing Houdini.exe instance. Is that something possible ?

Thank you in advance

S.
Edited by sebd3dvfx - 2024年4月4日 05:57:05
User Avatar
Member
143 posts
Joined: 5月 2017
Offline
Hi, you can use the hip file module there is a load [www.sidefx.com] function.

>>> path = "C:/Users/*username/Desktop/xxx.hiplc"
>>> hou.hipFile.load(path)
User Avatar
Member
11 posts
Joined: 3月 2024
Offline
viklc
Hi, you can use the hip file module there is a load function.

>>> path = "C:/Users/*username/Desktop/xxx.hiplc"
>>> hou.hipFile.load(path)
thank you but i meant being outside Houdini context,
let's say i'm in another python standalone application that list files,
i'm looking to open a file to the already loaded Houdini.exe
Edited by sebd3dvfx - 2024年4月4日 10:15:15
User Avatar
Member
11 posts
Joined: 3月 2024
Offline
No sorry i couldn't find what i need .
I need to open a .hip file in the already opened Houdini...
Everything runs new instance of Houdini.

I might be looking for something like Maya command port (?)
Edited by sebd3dvfx - 2024年4月5日 04:14:13
  • Quick Links