|On this page|
This node deletes a list of attributes (or all attributes) from incoming work items. (More correctly, it outputs clones of the incoming work items, but filters out matching attributes).
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.
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.
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.
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.
If you turn this on, the node only removes the attribute(s) below from work items where the given expression evaluates to a non-zero value. The expression does not have to involve the attributes being deleted. For example, to remove attributes from any work items whose
tile_x attribute is greater than 5, turn on Delete when and set the expression to
@tile_x > 5.
Delete All Attributes
Delete all custom attributes. This does not affect internal attributes such as
A multi-parm allowing you to delete one or more attributes by name.
The name of the attribute to delete.
When this is on, instead of removing the attribute, the node will truncate the attribute value after a certain position. For example, if you set this to
1, the node will delete any vector components after the first, effectively setting the vector size to 1.
This example demonstrates how to delete attributes for workitems of TOP nodes.
The following examples include this node.