Previous topic

declarations.node.base

Next topic

declarations.node.macrotool

This Page

declarations.node.box

Defines classes for node declarations that represent ordinary boxes.

class BoxNodeDeclaration(boxDeclaration, nodeName, isSrc)[source]

Bases: fbrelation.declarations.node.base.NodeDeclaration

Represents an animation node associated with an ordinary box.

__init__(boxDeclaration, nodeName, isSrc)[source]

Initializes a new declaration object for a box node, storing the given node name for use in finding the animation node within the box.

execute(boxComponent)[source]

Overridden to find the associated node by name within the given FBBox object.

Returns:the FBAnimationNode that corresponds to this declaration.
Raises :an ExecutionError if no matching node is found.