Script Node

You can use the script node to create a custom node that processes peg and image information from other nodes using the Harmony scripting interface.

To see the reference for the scripting interface used by the Script node, see the Script Node Reference.

Properties

Parameter Description
Name Allows you to enter a name for the node.
Tabs

Attributes

This tab allows you to set values for the attributes defined in the Specifications tab.
Specifications

This tab allows you to define the attributes as well as the input and output ports for the script node.

The script node supports the following types of attributes:

  • bool
  • int
  • double
  • String
  • Text
  • Colour
  • Position2d
  • Position3d

The script node supports the following types of ports:

  • Image
  • Peg
Softrender This tab allows you to write or link to a script that will be executed when rendering the node.
Initialization

This tab allows you to write or link to a script that will be executed when loading the scene.

Cleanup

This tab allows you to write or link to a script that will be executed when closing the scene.

UI Script This tab allows you to write or link to a script that will be executed when using the Show Control command while the node is selected.
Extra Files This tab allows you to define folders or files from root directory of the scene that should be preserved when creating templates or saving the scene in a different location.