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

   413   3   0
User Avatar
Member
9 posts
Joined: March 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 - April 4, 2024 05:57:05
User Avatar
Member
143 posts
Joined: May 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
9 posts
Joined: March 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 - April 4, 2024 10:15:15
User Avatar
Member
9 posts
Joined: March 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 - April 5, 2024 04:14:13
  • Quick Links