CustomExpressions

From Odwiki

Jump to: navigation, search

Houdini can accept CustomExpressions. The editor to expressions can be found in the Houdini:Settings>AliasesAndVariables dialogue.

Useful odWiki contributions

Short index of wikiExpressions.expr:

  • ExpGaussRand() (Return a random point in GaussianDistribution)
  • ExpRegSub() (Regular expressions substitution (uses PERL))
  • ExpLegalizeName() (Legalize a nodename (uses PERL))
  • ifs() (return a string based like the if() built-in expression) : now built-in to later versions of Houdini.
  • gain
  • gamma
  • bias

How to set up CustomExpressions in Houdini:

To create a constant set of custom expressions to be available in Houdini, you can create a text file with all your expression definitions in it and in your 456.cmd (see StartupScripts) you can exread that file. This will load the expressions file every time houdini is started up.

© 2009 od[force].net | advertise