Houdini 20.0 Nodes APEX Nodes

graph::AddNode

Adds an APEX node with a specific name and node type to the provided APEX Graph.

On this page
Since 20.0

Adds an APEX node to a provided APEX graph with a given name and callback. Optionally the node can be further configured with a node position in the graph, a node color, parameters that are to be set for the node’s ports and additional metadata. Metdadata for a node can be stored either in a dictionary called properties or as tags in form of a string array. If a name with the name name exists, the node will be still added, resulting in name clashes.

Inputs

*graph: ApexGraphHandle Required

The graph the node is to be added to.

name: String

The name of the node to be added.

callback: String

The type name of the APEX node to be added to the graph.

pos: Vector3

The position in the graph layout of the node to be added.

color: Vector3

The color of the node to be added.

parms: Dict

The parameters to be set for the nodes ports. The key represents the port name of the node.

tags: StringArray

Strings values associated with the given node to be added. Tags can be used to filter nodes inependently from the name.

properties: Dict

The custom metadata dictionary for the node to be added.

Outputs

*graph: ApexGraphHandle
nodeid: ApexNodeID

The node id of the newly created APEX node. This id is the identier for the node within the graph.

APEX Nodes