Houdini 21.0 Nodes TOP nodes

Attribute String Edit TOP node

Edits string attribute values.

This node edits string attributes based on the defined filters. For example, you can change file extensions in string attributes representing file paths.

Parameters

Generate When

Determines when this node will generate work items. You should generally leave this set to “Automatic” unless you know the node requires a specific generation mode, or that the work items need to be generated dynamically.

All Upstream Items are Generated

This node will generate work items once all of the input nodes have generated their work items.

All Upstream Items are Cooked

This node will generate work items once all of the input nodes have cooked their work items.

Each Upstream Item is Cooked

This node will generate work items each time a work item in an input node is cooked.

Automatic

The generation mode is selected based on the generation mode of the input nodes. If any of the input nodes are generating work items when their inputs cook, this node will be set to Each Upstream Item is Cooked. Otherwise, it will be set to All Upstream Items are Generated.

Attribute

Attribute Name

Name of the string attribute to edit.

Attribute Index

If the attribute is a string array, specifies which element of the array to operate on. By default, it iterates through every element of the array.

Filters

Filters

Multiparm that allows you to add/set one or more filters.

Use Regular Expressions

Uses Regular Expressions instead of Houdini pattern replacement syntax.

Replace Every Occurrence

Replaces every occurrence of the specified pattern. By default, only the first occurrence will be replaced. For example, replacing foo with bar in foo_foo_foo will yield bar_foo_foo when this toggle is off and bar_bar_bar when the toggle is on.

From

The string pattern to replace.

To

The replacement pattern for the string.

Note

The filters are run sequentially.

See also

TOP nodes