Studio / Enterprise PFTrack Documentation Python Macro API

Node Linking API (PyLink class)

This is the class for manipulating links between nodes in the tree as returned by PyNode.getInputLink() and PyNode.getOutputLink().

PyNode getFromNode() - returns the upstream node.

int getFromOutput() - returns which output connection of the upstream node this link connect to.

PyNode getToNode() - returns the downstream node.

int getToInput() - returns which input connection of the downstream node this link connects to.

Note: Macro scripts are only available to Studio and Enterprise customers.