Python scripting in future build of Houdini Apprentice

   14072   7   0
User Avatar
Member
301 posts
Joined: 7月 2005
オフライン
Given that Tk is built into the current release of Houdini Apprentice, are there plans to also include Python scripting language into future build of Houdini Apprentice?

I understand that the SGI port of Houdini Apprentice has Python scripting in the current release.

I don't have access to an SGI machine only Intel boxes running Windows2000/XP.
Nicholas Yue
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オンライン
check out the conversation in the mail list:
here [sidefx.com]

I think it's a case of “if enough users ask for it…”
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
301 posts
Joined: 7月 2005
オフライン
arctor
check out the conversation in the mail list:
here [sidefx.com]

I think it's a case of “if enough users ask for it…”

From reading the thread, it seems that even with major studio ILM using the Python scripting language in Houdini cannot conviced SESI to include them, poeple down the food chain nibbling at Houdini Apprentice must adopt the “beggars cannot be chooser” mentality.

Well I am still hopeful…..meanwhile I can pretend to use Blender + Python to be my poor man's Houdini :-)
Nicholas Yue
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オンライン
AFAIK…ILM doesn't use Houdini…maybe a few seats of Select, but…
I think they use Python for all kinds of other things, in/with their own programs, pipeline etc…
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
7046 posts
Joined: 7月 2005
オフライン
Err, you guys know that you can use any language you want by using the “hcommand” and “openport” combo, right?

Basically, in Houdini use the textport command “openport 554” where 554 is any number (do “help openport” in the Houdini textport for more info).

Then, you can use the command “hcommand 554 opls” to access Houdini from “outside”. So, in your Python script, do whatever the command is to call an external program (in Python) using “hcommand 554 xxx” and replace xxx with whatever Houdini command you want. That's it! That's why Python isn't embedded anymore, it's not needed to be embedded. You can program in Cshell, Python, VB, Fortan, Pascal, C++ or whatever the heck you want

Cheers,

PEter B
Cheers,

Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
User Avatar
Member
405 posts
Joined: 7月 2005
オフライン
Cool

:shock:
User Avatar
Member
301 posts
Joined: 7月 2005
オフライン
pbowmar
Err, you guys know that you can use any language you want by using the “hcommand” and “openport” combo, right?

Basically, in Houdini use the textport command “openport 554” where 554 is any number (do “help openport” in the Houdini textport for more info).

Then, you can use the command “hcommand 554 opls” to access Houdini from “outside”. So, in your Python script, do whatever the command is to call an external program (in Python) using “hcommand 554 xxx” and replace xxx with whatever Houdini command you want. That's it! That's why Python isn't embedded anymore, it's not needed to be embedded. You can program in Cshell, Python, VB, Fortan, Pascal, C++ or whatever the heck you want

Cheers,

PEter B

Q1 Where is the houdini module (Python module)?
Q2 Where are the Python object representing Houdini's internal?
Q3 How do we access the various OP, i.e. SOP, CHOP etc…?
Q4 How do we query/change the values in the OP?
Q5 How do we write out or read a HIP file from within the Python script? Q6 What if I need to query VEX shader parameters?

I understand that embedding and calling Python is different.

Cheers
Nicholas Yue
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オンライン
thanks Peter…
very cool
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
  • Quick Links