ConnectFxOp

Introduced

v3.0

Categories

rendering

Description

Connects the output of the FxOperator to the specified input of a destination FxOperator.

Scripting Syntax

ConnectFxOp( [Op1], [Op2], [Connection] );

Parameters

Parameter Type Description
Op1 String or FxOperator Object pointer or Object name of FxOperator to connect.

Default Value: Current selection.

Note: If the current selection is not a valid FxOperator, an error occurs.

Op2 String or FxOperator Object pointer or Object name for FxOperator to connect to.

Default Value: Current selection.

Note: If the current selection is not a valid FxOperator, an error occurs.

Connection String Index or name of the connection.

Note: the index is 1-based (ie., the index starts at 1 instead of 0), and you must use quotation marks around the index value. For example, "1", "2", etc.

Examples

VBScript Example

' This example creates an FxTree, adds two operators
' to it and then connects them.
set oTree = CreateFxTree()
set oSrc = AddFxOp( oTree, "File Input" )
set oDest = AddFxOp( oTree, "BoxBlur" )
ConnectFxOp oSrc, oDest, "1"