Houdini 18.0 Nodes TOP nodes

Range Generate TOP node

Generates work items on the specified range

On this page

You can use this node to generate a range of work items, determined by the Value Range parameter. The values on the range can set as the work item frame, index or a custom attribute value. If this node has input work items, it will generate a range for each input.

TOP Attributes

range

float

If the Set Range Attribute parameter is on, then the node writes the range values to a float attribute on each work item and adds a range attribute to each work item. This attribute is useful when you're using this node to select a subset of frames from a ROP Fetch node. Other downstream ROP Fetch nodes that are operating in batch mode will also use the range attribute when generating batches.

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.

Value Range

The start, end and step size for the range of values used to generate work items

Store Value As

Determines how each range value should be stored on the corresponding generated work item.

Work Item Frame

The value is set as the work item’s frame value. The range step size is saved as the work item’s frame step.

Work Item Index

The value is set as the work item index. This option should only be used if the step size and range values are integers.

Custom Attribute

The value is stored to a custom attribute, as specified using the Attribute Name parameter.

Attribute Name

When Store Value As is set to Custom Attribute, this parameter determines the name of the attribute in which the value should be stored.

Set Range Attribute

When this parameter is enabled, the node writes the range values to a float attribute on each work item and adds a range attribute to each work item.

This attribute is useful when you're using this node as the input to a ROP Fetch node. ROP Fetch nodes that are operating in batch mode will use the range attribute when generating batches. You’ll want to have this parameter enabled if downstream ROP Fetch nodes are generating batches from work items in this node.

TOP nodes