Description
Returns the inputs associated with the first instance of a correlation matrix. Note: This function is a shortcut for use with correlation matrices that have only a single instance and is equivalent to calling the .Instances(1).Inputs method.
Syntax
object.Inputs(index as Integer)
Arguments
index (Required integer) – the position of the input in the correlation matrix.
Return Value
(RDKInput) – an input object that is attached to the correlation matrix.
Example
'Attach InputA and InputB to the first two positions of myMatrix
With RDKApp.Correlations("myMatrix")
Set .Inputs(1) = RDKApp.Inputs("inputA")
Set .Inputs(2) = RDKApp.Inputs("inputB")
End With
'The above code is equivalent to:
With RDKApp.Correlations("myMatrix")
Set .Inputs(1) = RDKApp.Instances(1).Inputs("inputA")
Set .Inputs(2) = RDKApp.Instances(1).Inputs("inputB")
End With