Houdini 17.5 Nodes TOP nodes

Filter By Expression TOP node

Conditionally filter upstream work items

On this page

This node evaluates an expression for each upstream work item to determine if the upstream item should be filtered out.

Parameters

Work Item Generation

Whether this node generates static or dynamic work items. You should generally leave this set to "Automatic" unless you know the node’s work items can be computed statically, or that they need to be generated dynamically.

Dynamic

This node always creates dynamic work items: it waits until the upstream work items are known, and generates new work items from the upstream work items.

Static

This node always creates static work items: it creates the number of work items it thinks it needs based on the parameters (and any upstream static items) before the network runs.

Automatic

If the input is static (a static processor, or a partitioner with only static inputs, or a mapper), this node generates static work items, otherwise it generates dynamic work items.

Filter Expression

Evaluated for each upstream work item. When the result is 1/true, the upstream item is filtered out, otherwise the item will be copied by this node.

Include Result Data

When this toggle is enabled result data from the upstream item is includes on the copied work items.

Invert Filter

Inverts the filter so that work items that match are filtered out and items that don’t are copied.

Examples

example_top_filterbyexpression Example for Filter By Expression TOP node

This example demonstrates how to filter upstream workitems so that the remaining set can be further processed or debugged.

The following examples include this node.

example_top_filterbyexpression Example for Filter By Expression TOP node

This example demonstrates how to filter upstream workitems so that the remaining set can be further processed or debugged.

example_top_partitionbycomparison Example for Partition by Comparison TOP node

This example demonstrates how to use the partition by combination node in PDG/TOPs.

See also

TOP nodes