Jump to content

Recommended Posts

Hi there, has python more or less replaced hscript? I know some things are easier to do with one or the other, So I guess I'm just asking where people are mostly using what?

In the docs, it states "HOM replaces the functionality of Houdini's previous scripting solutions, the expression language and HScript."

is this true? I mostly find hscript in sample scenes I download from odforce.

Sorry if this is a silly question, but I'm still green to all this ;)

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

I'm probably in the minority, but I prefer Hscript. That's probably because it's what I learned when I started. Also, there's usually less to type with Hscript and super simple scripting (the only scripting I tend to do these days).

Link to comment
Share on other sites

I use Python almost always. Once in a while I will use HScript for expressions because it's quicker to type out than the Python equivalent (e.g. rand($PT)) but that's about it. Studios I've worked at have a similar philosophy since Python is ubiquitous now (and for good reason, HScript is shell like and Python is a full blown object oriented programming language). I'm sure HScript will be around for a long time and some users will cling to it, but I wouldn't start out trying to learn HScript over Python.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...