AddCustomOp (Parameter)

Introduced

5.1

Description

Creates and returns a new Self-Installed Custom Operator and connects its output to this parameter.

Tip: This is the Object Model version of the AddCustomOp command, which also creates a Self-Installed Custom Operator. To create a runtime scripted operator, use the AddScriptedOp command or Parameter.AddScriptedOp method.

Scripting Syntax

    Parameter.AddCustomOp( [Type], [Inputs], [Name] )

C# Syntax

    CustomOperator Parameter.AddCustomOp( String bszType, Object vInputs, String bszName );

Parameters

Parameter | Type | Description
Type | String | SIObject.Name for the Self-Installed Custom Operator
Inputs | List | List of objects or parameters to be connected to input ports. The order of these inputs will decide the index value used to retrieve each input (see OperatorContext.GetInputValue). Default Value: The operator will be created with no inputs
Name | String | The name of the new operator Default Value: The operator will be named based on its type

Return Value

The newly created Self-Installed CustomOperator

See Also

AddCustomOp | AddScriptedOp | ProjectItem.AddCustomOp | OperatorContext
CustomOperator |  |  |

Autodesk Softimage v7.5