FxOperator.SetConnectionFlag
 
 
 

FxOperator.SetConnectionFlag

Description

Changes the specifed flag on a connection of the FxOperator.

C# Syntax

FxOperator.SetConnectionFlag( Int32 in_nIndex, Int32 in_nFlagID, Boolean in_bValue );

Scripting Syntax

FxOperator.SetConnectionFlag( Index, FlagID, Value );

Parameters

Parameter Type Description
Index Long Index of the connection
FlagID Long Type of flag

Possible Values:

Description:

1 Specifies the Invert flag
2 Specifies the Selected flag
Value Boolean New value of the flag

Examples

VBScript Example

set oRoot = ActiveProject.ActiveScene.Root
set oTree = oRoot.AddFxTree
set oFxOp = oTree.AddImageOperator("Noise")
oFxOp.SetConnectionFlag 1, 2, True

See Also

FxTree