Houdini 20.5 Nodes Copernicus nodes

Invoke Block Copernicus node

Runs a block using inputs plugged into this node.

On this page

This node runs a block of nodes that're defined elsewhere. You can wire inputs into the Invoke Block node to apply that block to the inputs.

To use this node, set the Block End Node parameter to the Block End COP of the block you want to reference. You can then click Set Inputs and Outputs from Selected Block to populate the node with the Block Inputs of the Block Begin COP and the Block Outputs of the Block End COP for that block. The node cooks in a compiled manner, which throws away results of intermediate steps to use less memory, to produce the outputs of the selected block.

For example, use this node when you want to duplicate a block of functionality in different places in the network without having to copy or reference individual nodes.

Note

Though this node isn’t usually used for slap comp, you can see Slap comp for more information about how to use Block Begin and Block End COPs.

Parameters

Block End Node

The path to the Block End COP node that’s the final node of the block you want to invoke. This block’s Block Begin and Block End nodes determine the Inputs and Outputs multiparameters.

Iterations

The number of times to run the block, with outputs feeding back as inputs into the subsequent iteration.

Note

This node can repeatedly run the block only when its outputs can be converted into the respective inputs (matched by index). Otherwise, this node performs a single iteration and sends a warning.

Set Inputs and Outputs from Selected Block

Sets up this node’s input and output ports to match the selected block. This populates the Inputs and Outputs multiparameters using the block’s signature.

Inputs

The number of this node’s input ports, which are based on the Block Inputs of the Block Begin COP for the selected block.

Input Label

The name of the block input to bind the respective incoming layer to. This is matched against the Input Name values on the Block Begin COP for the selected block.

Input Type

The data type of the input and the corresponding port on this node.

Outputs

The number of this node’s output ports, which are based on the Block Outputs of the selected Block End Node.

Output Label

The name of the block output that comes out of the respective port. This is matched against the Output Name values on the selected Block End Node.

Output Type

The data type of the output and the corresponding port on this node.

Inputs

input#

The source layer on which to run the selected block. The amount of node inputs and their details are based on the Inputs information.

Outputs

output#

The output layer with the selected block applied. The amount of node outputs and their details are based on the Outputs information.

Examples

RepeatDistortions Example for Invoke Block Copernicus node

Shows how to apply repeated distortions to an image using block invocation.

See also

Copernicus nodes