This Page

declarations.connection

Defines declaration classes for connections between nodes.

class ConnectionDeclaration(srcNodeDeclaration, dstNodeDeclaration)[source]

Defines a connection declaration, which consists of two node declarations. The source (output) node connects to the destination (input) node.

__init__(srcNodeDeclaration, dstNodeDeclaration)[source]

Initializes the connection with the given node declaration objects.

execute(boxComponents)[source]

Executes the connection, causing a connection to be made between the FBAnimationNode objects referred to in each node declaration.

Parameters:boxComponents – A dictionary which maps the names of already-compiled box declarations to their corresponding FBBox objects.
Returns:nothing, as there is no corresponding MotionBuilder object which represents a connection.
Raises :an ExecutionError if the nodes could not be executed.