Houdini 21.0 Nodes Copernicus nodes

Cable Rename Copernicus node

Renames a cable’s wires based on filters.

On this page
Since 21.0

This node renames a cable’s wires based on Houdini’s pattern replacement syntax (see Attribute String Edit for examples), which you set using the Filters parameter. The node sequentially runs the filters.

See Cables for information about how to use this node.

Parameters

Filters

The number of filters to set, which the node sequentially runs.

Filter #

Applies the string replacement.

Use Regular Expressions

Uses extended regular expression syntax to replace the strings instead of Houdini’s pattern replacement syntax.

Replace Every Occurrence

Replaces every occurrence of the specified pattern. By default, the node replaces only the first occurrence.

For example, replacing foo with bar in foo_foo_foo yields bar_foo_foo when this is off and bar_bar_bar when this is on.

From

The string pattern to replace.

To

The replacement pattern for the string.

Add Wire Index

Adds a wire index.

Token Position

Set whether to add the wire index at the start or end of the wire name.

Index Offset

The amount to offset the wire index. The wire index starts at 0.

Inputs

cable

The cable with wires to rename.

Outputs

rename

The cable with its wires renamed.

See also

Copernicus nodes