How to launch & control houdini programmably

   155   2   0
User Avatar
Member
697 posts
Joined: 8月 2019
オフライン
For example, say I have a quite complex network in a .hip.

I'd like to write a simple command line script that does:

1. Launch Houdini

2. Load this .hip

3. Switch to "Model" desktop

4. Search for a node named 'character1' and make the network view focus on it

Is it possible?
Edited by raincole - 2026年2月24日 08:18:25
User Avatar
Member
300 posts
Joined: 1月 2015
オフライン
You can try to do it with python commands using Hython.

Google Houdini hython inline, and the AI should give you some examples using a script.py or a full command.
User Avatar
スタッフ
662 posts
Joined: 8月 2019
オフライン
You can pass a python script to Houdini when launching it. Simply put the code you want to execute once it's started and then run it like so: houdini my.hip script.py
Edited by johnmather - 2026年2月24日 16:14:32
  • Quick Links