Previous topic

declarations.node.box

Next topic

declarations.node.macro

This Page

declarations.node.macrotool

Defines classes for node declarations that relate to macro tools. Macro tools are the input or output boxes which allow a relation to be used as a macro.

class MacroToolNodeDeclaration(boxDeclaration, isSrc)[source]

Bases: fbrelation.declarations.node.base.NodeDeclaration

Represents a macro input or output as referenced in a connection declaration. A macro tool has exactly one node, so it requires no name or index in order to resolve that node from the associated FBBox.

execute(boxComponent)[source]

Overridden to simply use the first and only animation node on the appropriate side (input vs. output) of the given FBBox object.