IsConnectionFlagSupported (FxOperator)
Description
Returns true if the specified connection of the FxOperator supports a specific flag.
Scripting Syntax
FxOperator.IsConnectionFlagSupported( Index, FlagID )
C# Syntax
Boolean FxOperator.IsConnectionFlagSupported( Int32 in_nIndex, Int32 in_nFlagID );Parameters
|
Parameter |
Type |
Description |
|
Index |
Index of the connection |
|
|
FlagID |
Type of flag Possible Values: • 1: Specifies the Invert flag • 2: Specifies the Selected flag |
Return Value
Examples
VBScript Example
set oRoot = ActiveProject.ActiveScene.Root
set oTree = oRoot.AddFxTree
set oFxOp = oTree.AddImageOperator("Noise")
for Cnx = 0 to oFxOp.ConnectionCount - 1
LogMessage oFxOp.GetConnectionName(Cnx) & " support Invert flag? : " & oFxOp.IsConnectionFlagSupported(Cnx, 1)
LogMessage oFxOp.GetConnectionName(Cnx) & " support Select flag? : " & oFxOp.IsConnectionFlagSupported(Cnx, 2)
nextSee Also
Autodesk Softimage v7.5