v5.1
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.
CustomOperator Parameter.AddCustomOp( String bszType, Object vInputs, String bszName ); |
oReturn = Parameter.AddCustomOp( [Type], [Inputs], [Name] ); |
The newly created Self-Installed CustomOperator
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 |