Houdini 18.0 Nodes TOP nodes

Command Send TOP node

Sends code to a shared server to execute

This node is used with a shared server created using either a Python Server, Houdini Server Begin, Maya Server Begin or Nuke Server Begin node.

It can be used send a command or custom code to the server, depending on what the server accepts. The Houdini server runs Python code that uses the HOM API, the Maya server uses MEL or Python and the generic command server uses the format defined by its server implementation.

When executing python code, a work_item object is automatically available which has a subset of the pdg.WorkItem API. This can be used to read a write data from PDG.


When used with a Maya Server, the command script is assumed to be python code unless //mel is the first line of the script, in which case the script text is treated as MEL code. The last line of the MEL script determines the value that is added to the Command Send work_item.


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.

Shared Server Name

The name of the shared server to communicate with. When this parm is disabled, the node will use the shared server information from upstream work items.

Command Script

The code to send to the shared server. If the server is a Houdini Server this should be Python code, and can make use of the HOM API. If the server is a Maya Server this parm should contain python code.

See also

TOP nodes