Houdini 12 Expression functions

Returns the value of a particle attribute, by particle number.

Usage

poppoint(point_number, attribute, index)

You should only use this function in a particle node.

Expressions are mainly used in parameter fields. These form the backbone of Houdini. You can also type in expressions in to the textport but in order for them to evaluate you have to precede with the command echo and encase the expression in back ticks.

For example:

echo `ch(/obj/geo1/ty)`

will return to the textport the value of /obj/geo1’s TY parameter.

The old expression language is still available in Houdini for compatibility with older files and scripts. For new animations, we recommend you use the new HOM scripting architecture instead.

Subtopics

Replaced by

Related topics