SetConnectionFlag (FxOperator)

Description

Changes the specifed flag on a connection of the FxOperator.

Scripting Syntax

    FxOperator.SetConnectionFlag( Index, FlagID, Value )

C# Syntax

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

Parameters

Parameter | Type | Description
Index | Long | Index of the connection
FlagID | Long | Type of flag Possible Values: • 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

Autodesk Softimage v7.5